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 *
|