lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] connect() on UDP sockets


From: Stéphane Lesage
Subject: RE: [lwip-users] connect() on UDP sockets
Date: Sun, 25 Nov 2007 18:09:17 +0100

>> I noticed that connect() on a UDP socket is bugged in 1.2.0.
>> Is this bug fixed ?
>> The correct behaviour is that it should just set the default 
>> destination address
>> for subsequent calls to send().

> And what was the problem ?

It does not set the peer address.
When I call send(), it does not work.
I have to use send_to().

And on the receive part,
after "connecting",
it must filter incoming packets according to the source address.

see here:
http://www.cs.rpi.edu/courses/sysprog/sockets/connect.txt


-- 
Stéphane Lesage
ATEIS International  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]