Hello, is it strictly necessary to create a udp stream for sending messages and another stream else on a different port for receiving messages?
Could be using just a unique stream and unique port for both sending and receiving UDP messages? (full duplex).
It would be very useful to bypass the firewall of routers, becase the problem now is this:
The client (behind a router) sends a udp message through port 1000, for example, to the server.
The server answers sending another udp messages to the client (being the port of the client the port 1001), the router blocks this incoming packet, even when in theory, if the router has got SPI, it should have detected that the client previously had made a request to the server, so that the router had to allow the udp message to enter, but not, it doesn't allow it.
If the sending/receiving port can be the same, then, i suppose that if the clients sends a udp message through the port 1000 and receives the udp answer from the server through the same port, the router should have to allow it, true?
Thank you.
Could be using just a unique stream and unique port for both sending and receiving UDP messages? (full duplex).
It would be very useful to bypass the firewall of routers, becase the problem now is this:
The client (behind a router) sends a udp message through port 1000, for example, to the server.
The server answers sending another udp messages to the client (being the port of the client the port 1001), the router blocks this incoming packet, even when in theory, if the router has got SPI, it should have detected that the client previously had made a request to the server, so that the router had to allow the udp message to enter, but not, it doesn't allow it.
If the sending/receiving port can be the same, then, i suppose that if the clients sends a udp message through the port 1000 and receives the udp answer from the server through the same port, the router should have to allow it, true?
Thank you.