UdtSharp icon indicating copy to clipboard operation
UdtSharp copied to clipboard

Starting the udt server in the sample section drops exception

Open MiklosPathy opened this issue 3 years ago • 2 comments

If i simply start the project with options "udt server 9000" it drops an exception:

Unhandled exception. System.Exception: Problem when listening with 5 ---> UdtSharp.UdtException: Operation not supported: Listen/accept is not supported in rendezous connection setup at UdtSharp.UdtUnited.listen(Int32 u, Int32 backlog) in C:\Users\mpathy\Desktop\UDT\UdtSharp-master\src\UdtUnited.cs:line 385 at UdtSharp.UdtSocket.Listen(Int32 maxConnections) in C:\Users\mpathy\Desktop\UDT\UdtSharp-master\src\UdtSocket.cs:line 56

MiklosPathy avatar May 24 '21 14:05 MiklosPathy

me too,did you fix it?

snltty avatar Oct 05 '21 03:10 snltty

I download the source code and changed from m_bRendezvous = false to m_bRendezvous = true in public UDT() of src\Core.cs, the sample work

wch1618 avatar Sep 06 '22 01:09 wch1618