int s = xlisten ("tcp://127.0.0.1:8080"); xclose (s);
xclose - close a xio socket
#include <xio/socket.h>
void xclose (int s);
Close the xio socket s. Any buffered inbound messages that were not yet received by the application will be discarded. The library will try to deliver any outstanding outbound messages for the time specified by XLINGER xio socket option. The call will block in the meantime.
Nothing returned for this function.
No errors for this function.
int s = xlisten ("tcp://127.0.0.1:8080"); xclose (s);
Dong Fang <yp.fangdong@gmail.com> Martin Sustrik <sustrik@250bpm.com>