Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 5 months ago.
How to know callback called with which event in TCP socket sigio
Hello,
I see we can register a callback with TCP socket and can get it called whenever there is receive, send or accept on that particular socket. But I dont see any event type being sent to callback so if I have only one callback then how do I know that it is called for receive, send or accept.
socket->sigio(callback(tcp_callback, socket));
Vikas