lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] UDP sendto() blocking


From: S. Ali Tokmen
Subject: Re: [lwip-users] UDP sendto() blocking
Date: Sat, 1 Dec 2007 13:03:14 +0100

Hello
 
How are you using lwIP? Are you making direct calls to lwIP or using sockets? Are you using VDK (VisualDSP Kernel)?
 
Cheers
 
GSM (fr): +33 66 43 00 555 [Bouygues Telecom]
GSM (tr): +90 555 266 52 73 [Avea]
 
My AIM, ICQ, MSN Messenger, and Yahoo IM
contact details are on http://contact.ali.tokmen.com/
 
 
----- Original Message -----
Sent: Saturday, December 01, 2007 7:44 AM
Subject: [lwip-users] UDP sendto() blocking

 

 

We are using Lwip ported onto the Analog Devices VDSP++ 4.5 (Blackfin family , Feb 2007 update) to implement an RTSP/RTP streaming server.

 

To send RTP packets using UDP, we are creating a socket of type SOCK_DGRAM, and then using sendto() to transmit the RTP packets. After sending some packets, the sendto() function blocks, and the RTP thread hangs pending for a semaphore.

 

We tried to change the socket to non-blocking mode, but it does not seem to have any effect.

 

Unlike a TCP connection, UDP does not have flow/congestion control and does not need to wait for ACKs from the receiver. Then what does the UDP sendto() function wait for?

 

Thanks and regards,

Aparna


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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