[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int SDLNet_TCP_Send(TCPsocket sock, const void *data, int len)
Send data of length len over the socket sock.
This routine is not used for server sockets.
Returns: the number of bytes sent. If the number returned is less than len, then an error occured, such as the client disconnecting.
|
See Also:
3.3.6 SDLNet_TCP_Recv,
3.3.3 SDLNet_TCP_Accept,
3.3.1 SDLNet_TCP_Open,
3.3.4 SDLNet_TCP_GetPeerAddress,
3.3.2 SDLNet_TCP_Close,
4.2 TCPsocket