mint1981 has asked for the wisdom of the Perl Monks concerning the following question:
$AF_UNIX=1; $STREAMS=1; $PROTOCOL=0; socket($SERVERSOCKET,$AF_UNIX,$STREAMS,$PROTOCOL); bind($SERVERSOCKET,"./mysocket");
The error occurs at 'bind'. What exactly am I supposed to replace the "./mysocket" with? The book says its the file I am associating the socket handle with. I've tried all sorts of formats, absolute pathnames, relative pathnames but there is always an error with the binding.
Thanks for any help from you all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Socket between internal processes
by BrowserUk (Patriarch) on Sep 13, 2002 at 02:37 UTC | |
|
Re: Socket between internal processes
by dws (Chancellor) on Sep 13, 2002 at 04:37 UTC | |
|
Re: Socket between internal processes
by sauoq (Abbot) on Sep 13, 2002 at 08:17 UTC | |
|
Re: Socket between internal processes
by mint1981 (Initiate) on Sep 13, 2002 at 06:10 UTC |