1) How can i get raw socket fd from boost ip::tcp::socket type ??
2) Can i able to read from ip::tcp::socket type of boost library and write through normal send(fd…) system call ? Is that feasible. Can some one help me..
Thanks in advance.
Regards,
Suyambu
You should be able to get the socket fd from
ip::tcp::socket::native().I would imagine you can read through this class and write through
sendsince the buffers should be segregated but you’ll need to test it.