HP3000-L Archives

October 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Thu, 4 Oct 2001 09:32:30 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
Perl was built using -D_SOCKET_SOURCE and -D_POSIX_SOURCE.

You can use Perl's socket functionality exactly as described in the Perl
documentation.

Ron Wuerth wrote:
>
> Mark,
>
> Are there any considerations like this when using Perl and
> sockets on MPE?
>
> Ron Wuerth
> Virginia International Terminals, Inc.
>
> -----Original Message-----
> From: Mark Bixby [mailto:[log in to unmask]]
> Sent: Wednesday, October 03, 2001 4:41 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] berkeley socket include files
>
> I'm guessing that you're aren't compiling with -D_SOCKET_SOURCE and
> -D_POSIX_SOURCE.
>
> You pretty much always want to use -D_POSIX_SOURCE on MPE, and for socket
> programs you must use -D_SOCKET_SOURCE too.
>
> - Mark B.
>
> [log in to unmask] wrote:
> >
> > What are the correct include files to use for berkeley sockets in C and
> > where are they available?  I am using the include files socket.h, in.h,
> > and types.h from GNU.  When I compile I am getting syntax errors in the
> > header files because some of the types are undefined.  I am thinking I
> > might be missing a file.
> --
> [log in to unmask]
> Remainder of .sig suppressed to conserve scarce California electrons...
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2