Jaime Alemany created a new topic ' TCP / UDP connections' in the forum. 6 years ago

Hello,

I've noticed some kind of UDP support has been added recently; I don't manage to get the standard "tty_read" and "tty_write" to work with it.

Looking at connectiontcp.cpp code, it is a bit confusing to see it calling a "connect" for an UDP connection - and no "bind".
It's common for UDP clients to:
- open the socket
- bind with address NULL
- perform "sendto"s
(other alternatives maybe sendto/recvfrom...)

I intended to add some code to improve this, but not sure of the approach. Also I don't know if there's any other code using the UDP as it is now? (I don't see how...)

I'll be glad to code it if a convenient approach is found.

Thanks again,

jaime

Read More...