N
N
nicodrive2015-04-08 07:34:48
UDP
nicodrive, 2015-04-08 07:34:48

Is it possible to send an IpEndPoint over the network to another computer in order to send a response to the first (UDP) from another computer?

IpEndPoint contains ip and port, this works well for white addresses, will this scheme work for gray IPs? Server with white IP, client with gray one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2015-04-08
@nicodrive

If you send information containing a white IP from the server to the client, everything should be fine.
If you send information containing a gray IP from the client to the server, then the network device that performs NAT on the client's network (changing gray addresses to white ones) must understand the transfer protocol, replace gray addresses and ports with white ones inside your packet and open the corresponding ports additional temporary NAT tunnels. This technology is called "ip inspect". If your protocol is proprietary, then it is unlikely that network equipment will be able to decode it in order to modify the IP and port transmitted inside it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question