Author | Forum: General Questions Topic: How can I used same udp port for listening from two servers apps |
rovic From: brooklyn, NY USA Posts: 10 Member Since: 07/26/06 |
posted April 19, 2012 11:00 AM Hello We have Dart.PowerTCP.Sockets version 1.1.1.4 We are using below process for two servers listening using same udp port. here:- ->udpServer = new Dart.PowerTCP.Sockets.Udp ->udpServer.Open(UdpPortToListen) ->udpServer.Socket.SetSocketOption(Sockets.SocketOptionLevel.Socket, Sockets.SocketOptionName.ReuseAddress, True) this way, we have got an error "Only one usage of each socket address (protocol/network address/port) is normally permitted" so is there any other alternative way to solve the issue? If possible then please inform me with details Thanks |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted April 19, 2012 11:16 AM Hello, Have you tried setting the Udp.Socket.ExclusiveAddressUse property to false? Please note, when binding multiple processes to a single port, only one will receive any message; this is due to the Windows IP stack, and not our control. |
Reply | General Questions Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |