PERL, Domain Sockets & Datagrams.
by Daniel L. Needles other posts by this author
Dec 2 2000 4:20PM messages near this date
Best New Trade Show Display by Opera Portables, Inc. adv
|
Re: PERL, Domain Sockets & Datagrams.
Hello,=0D
I'm trying to create a PERL Berkeley Domain Sockets program using Datagra=
ms using either IO::Socket::Unix or Socket. I've followed the example in P=
erl Cookbook section 17.6 pg 617 but it fails due to unrecognizing "Listen=
=3D> 5" parm to IO::Socket::UNIX->new(). WIthout this option the special fil=
e was not created. I checked permissions and ran the program as root. Still=
it failed. Then I tryied the Socket example on pg 617 switching between SO=
CK_STREAM to SOCK_DGRAM also fails. I then tried the perlipc.html examples=
. Again, these did not work with Berkelely sockets. Then I searched the n=
et and couldn't find a single example of UDP like Berkeley sockets in PERL.=
Then I tried to find documentation on these commands - again nothing for =
Berkeley sockets. In a final desparate attempt I messed around with the do=
zen or so programs I found to no avail.=0D
=0D
Does anyone have any documentation or examples of UDP like Berkeley sockets=
client/server programs that work? (I'm open to example in PERL or C at th=
is point)=0D
=0D
Thanks,=0D
Daniel L. Needles =0D
Attachments:
unknown1
Thread:
Daniel L. Needles
Artur Silveira da Cunha
|