Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Re: IO::Socket

by Ea (Hermit)
on Dec 06, 2001 at 15:13 UTC ( #129879=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: IO::Socket
in thread Simple UDP example anyone?

The suspense is killing me. How did you get it to work? I was trying to connect as a client to my collegue's daemon written in C which created and was listening on /tmp/mysocket all done on Solaris 7. Yesterday, I was sure that I had read that Sun had hard-coded values, but today all I can find in the docs is the Camel book mentioning that ancient Perl scripts had values hard-coded (which, over time, mutated into "It's not my fault after all").

Here's the code for the curious

$socketname = "/tmp/mysocket"; socket(SOCK, PF_UNIX, SOCK_STREAM, 0) or die "socket: $!"; connect(SOCK, sockaddr_un($socketname)) or die "connect: $!";

Thanks for the info,

Ea :wq

Comment on Re: Re: Re: IO::Socket
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://129879]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-11-29 22:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls