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.
In reply to Re: How to hook up C's socketpair() with Perl's?
by Fletch
in thread How to hook up C's socketpair() with Perl's?
by mhutch7714
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |