Search Results

Search: Posts Made By: johnmb
Forum: Programming 08-06-2008
4,191
Posted By johnmb
You were on the money, Jim
Many thanks Jim, the Select API seems to fix the blocking issue (I used a 100 msec timeout on select()). Although I haven't test the received data path properly yet, but the blocking is not an...
Forum: Programming 08-06-2008
4,191
Posted By johnmb
my code
The following is my code for both server and client sockets: -

bzero(&sa,sizeof(struct sockaddr_in)); /* clear our address */

if (master) {

if...
Forum: Programming 08-06-2008
4,191
Posted By johnmb
Linux BSD sockets blocking issue
I am using BSD TCP sockets under Debian Linux 2.6 and no matter what I do, the socket blocks on recv.

I have set O_NONBLOCK and O_NDELAY using fcntl to no effect.

Any ideas ?
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy