3 ms·
It is possible to have a "connected UDP socket". It is one that is already set up with a remote endpoint. if you connect() a SOCK_DGRAM UDP socket to a remote
by thwarted 10y ago
It is possible to have a "connected UDP socket". It is one that is already set up with a remote endpoint.
if you connect() a SOCK_DGRAM UDP socket to a remote host, you can use send() and recv() as well as sendto() and recvfrom(). If you want.
http://beej.us/guide/bgnet/output/html/multipage/connectman.html http://beej.us/guide/bgnet/output/html/multipage/connectman....