Open a client TCP network socket.
TCPsocket SDLNet_TCP_OpenClient(IPaddress *ip);
|ip||The address to open a connection to.|
Returns the newly created socket, or NULL if there was an error.
Attempt a TCP connection to the remote host and port. The address passed in should already be swapped to network byte order (addresses returned from SDLNet_ResolveHost() are already in the correct form).
This function is available since SDL_net 2.4.0.