Home › Forums › Support › UDP – Restart Listener › Reply To: UDP – Restart Listener
October 17, 2015 at 15:33 #4181
thanks for your answer.
Unfortunately this doesn’t work.
I create a new UDPListener-Instance and call StartListening(…).
It throws the same exception:
NetworkCommsDotNet.ConnectionSetupException: A UDP connection already exists with info [UDP-D-U] 0.0.0.0:4001 -> 0.0.0.0:0
I tried several different approaches but can’t find a way to reopen a UDP Listener at the same port if it was closed before.
Can you please send me your code? I am sure you tested it already.
- This reply was modified 7 years, 5 months ago by .