Click here to Skip to main content
14,027,891 members
Rate this:
 
Please Sign up or sign in to vote.
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190419.4 | Last Updated 9 Sep 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100