Home Forums Support UDP – Restart Listener Reply To: UDP – Restart Listener

#4181
Anonymous
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 9 years ago by .