How to send UDP packets to an internal IP?

Started by
0 comments, last by monkeyman 19 years, 9 months ago
Hey- My server app is accessible through the internet and has a fixed IP, and my client app is on a system on the LAN with an internal IP.. The client can contact the server using TCP or UDP, but the server can only send data back using TCP, anything UDP just doesn't make it (client IP is not directly accessible).. My question is: how is it possible to send a UDP packet to the client without a direct IP address? btw all works correctly if both apps are running on the LAN and both IP addresses are exposed.. Thanks in advance to anyone who can help point me in the right direction.. -MM
"Like all good things, it starts with a monkey.."
Advertisement
Got it thanks :)

If anyone wants to know, when you receive the UDP packet on the server side it has enough info in the client address to send a packet back to the right place..

IPs all show up the as same, but the right system on the LAN gets the data..
"Like all good things, it starts with a monkey.."

This topic is closed to new replies.

Advertisement