I have a problem with the tcp and udp synchronization.
On the server it accepted the tcp connection with the:
But now I need to know how to get the remote address of the udp_socket of the client to use it to send upd packets.
I already tried to use(on the server) the function
SDLNet_TCP_GetPeerAddress(); to get it. The ip was right, but the port was't. I tried the
SDLNet_UDP_GetPeerAddress(); (on the client) but it just gives the local address.
What can I do now?