Search All Forums
Dart Home | Custom Development Reply | General Questions Topics | Forums   
AuthorForum: General Questions
Topic: How can I used same udp port for listening from two servers apps

From: brooklyn, NY USA
Posts: 10
Member Since: 07/26/06
posted April 19, 2012 11:00 AM


We have Dart.PowerTCP.Sockets version
We are using below process for two servers listening using same udp port.

->udpServer = new Dart.PowerTCP.Sockets.Udp


->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

Nick B (Admin)

From: Utica, NY USA
Posts: 618
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 19, 2012 11:16 AM


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 Tool PowerTCP WebServer for ActiveX