Brian Lam <[email protected]> writes:

> My current workaround is to create one unconnected pcb just for
> receiving on all ports and another connected one for sending.

Hi Brian,

As Simon says, you should normally use sendto() instead of connect()
when sending UDP. Calling connect() on a UDP socket means that you can
only communicate with the connected host, even though UDP is
connectionless. This can make sense when talking to a known DNS server
for instance.

/jakob



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to