Home › Forums › Support › UDP – Restart Listener › Reply To: UDP – Restart Listener
October 17, 2015 at 15:33
#4181
Inactive
Hi Marc,
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.
Thanks!
-
This reply was modified 8 years, 10 months ago by
.