Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
my limitation is i can send udp socket data in one port ,and my requirement is i want to recieve same data in another port.how it possible???
is there any setting or script for this problem?

What I have tried:

No solution is found in any of the case , please help.
Posted
Updated 8-Sep-18 23:33pm
Comments
Mehdi Gholam 9-Sep-18 1:42am    
Data is always received on the same port, however you can do port forwarding.

1 solution

That makes no sense on a single system. If you have received data once there, you can do with the data what you want so that there is no need to use another listener on a different port.

If you refer to different systems, you have to send the data multiple times to each listening system. If all receiving systems are located in the same local sub net (private IP range), you can also broadcast the data. Then all systems that are listening on the same port will get the data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900