C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2009, 09:59 AM   #1
Alessio Stella
 
Join Date: May 2008
Location: Italy, Bologna
Posts: 235
EAGAIN with write on a non blocking socket

when i write on a (DGRAM) socket i get often

EAGAIN
Non-blocking I/O has been selected using O_NONBLOCK and the write would block.

why? The buffer is about 105k and i think I am writing at a low rate very little packets
It is a control port with basical control commands

The problem could be there is another lower priority thread which is grabbing images (Gbit/sec)
May be the TCP IP stack is blocked by this thread despite it being lower priority??

Thank you
mynickmynick is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to initialize a non blocking socket using only winsock library *DEAD* Networking/Device Communication 4 01-18-2008 07:03 AM
Non-Blocking Server help. unkownname Networking/Device Communication 7 07-27-2007 05:04 PM
Socket program mhetfield C Programming 5 04-03-2007 03:46 PM
socket program help mhetfield Networking/Device Communication 1 04-02-2007 06:02 AM
This should be the Cprogramming.com anthem! Brian A Brief History of Cprogramming.com 6 01-21-2002 12:01 AM


All times are GMT -6. The time now is 10:38 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22