XSocket API  2.0
XIA Socket Library
Functions
Xclose.c File Reference

Xclose() - close a socket. More...

#include "Xsocket.h"

Functions

int Xclose (int sockfd)
 close an Xsocket More...
 

Function Documentation

int Xclose ( int  sockfd)

Causes the XIA transport to tear down the underlying XIA socket state and also closes the UDP control socket used to talk to the transport.

Parameters
sockfdthe socket
Note
See the man page for the standard close() call for more details.
Returns
0 on success
-1 on error with errno set to a value compatible with the standard close API call.