vmarkovtsev / udt4py

libudt4 Python wrapper written with Cython
Other
26 stars 9 forks source link

Congestion control and setsockopt #4

Open ghost opened 4 years ago

ghost commented 4 years ago

Are there hooks for getsockopt and setsockopt ? How do I do that.

Also can we access underline congestion control ? Any call backs ?

Appreciate help.

pkit commented 3 years ago

You can use

sock = UDTSocket()
sock.UDT_CC = SomeClass

But I'm not sure if you want that. As it will expect a C++ derived class which is probably not even remotely what you want...