C
static void CloseSocket();
Description
This function closes a TCP socket. All socket state information is reset, and any buffered bytes are discarded. The socket is no longer accessible by the application after this point.
Preconditions
The TCPStub corresponding to the socket to be closed is synced.
Returns
None