in reply to Re: call_pv on CORE:: sub from XS
in thread call_pv on CORE:: sub from XS

Yes, also tried this.
No success: "Undefined subroutine &main::socketpair called"

Replies are listed 'Best First'.
Re^3: call_pv on CORE:: sub from XS
by Anonymous Monk on Sep 20, 2014 at 07:19 UTC
      Ok, then just calling socketpair() looks good for me.
      One problem is that after this my XS function should return perl handle to the user, so he can call syswrite() on it. What I can't understand now is how to turn fd returned by socketpair() into GLOB from XS code. Any suggestions?
        My suggestion is to do it in perl code cause xs code is ucky :)