Socket callback functions
Hamid Reza Badili
hamidrezab at itaco.net
Thu Oct 23 08:38:24 UTC 2003
Hi,
I need to use socket callback functions, I used setsockopt() function with
SOL_SOCKET and SO_RCVWAKEUP and callback function will be called. The
problem is I don't know how read data from socket when my callback function
is called: caller passes a pointer to a socket structure to it, not a socket
descriptor (as receive() or read() function expects). How can I read socket
using its pointer?
Best Wishes,
H. R. Badili
More information about the users
mailing list