|
From: | Jonathan Larmour |
Subject: | Re: [lwip-users] connect() on UDP sockets |
Date: | Mon, 26 Nov 2007 14:50:51 +0000 |
User-agent: | Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515) |
Stéphane Lesage wrote:
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 addressfor 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().
This should work in CVS HEAD, and future 1.3.0. Looks like you have a workaround for now.
Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["The best things in life aren't things."]------ Opinions==mine
[Prev in Thread] | Current Thread | [Next in Thread] |