in reply to How to hook up C's socketpair() with Perl's?
You should be able to call fileno on the descriptors and pass them as arguments (either command line or in the environment) and then use either dup(2) or open( HANDLE, "<&$fd" ) (see perlopentut and the docs for open for the exact syntax) to get a proper local endpoint in either C or Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to hook up C's socketpair() with Perl's?
by mhutch7714 (Acolyte) on Jul 14, 2006 at 03:32 UTC | |
|
Re^2: How to hook up C's socketpair() with Perl's?
by jesuashok (Curate) on Jul 14, 2006 at 07:32 UTC | |
by Moron (Curate) on Jul 14, 2006 at 09:46 UTC |