tpf@jdyx.UUCP (Tom Friedel) (09/01/90)
I have an application that I am trying to port to SCO Unix. Via print statements I have determined that the program is blocking on a write (or send) to a socket. I have tried fctnl( sockfd, F_SETFL, FNDELAY ) and int i = 1 ; ioctl( sockfd, FIONBIO, &i ) ; to set the socket in non-blocking mode. The second is based upon an example I saw that used FIOSNBIO. The blocking only occurs when more than one process is attempting to read/write/select on a common server socket number, so I am worried that the problem is at a lower level. Any pointers to good BSD socket programming texts would be welcome. I have 'An Introductory 4.3BSD Interprocess Communications Tutorial' by Sechrest (an article) tom -- Tom Friedel JDyx Enterprises (404) 320-7624 tpf@jdyx.UUCP Unix BBS: (404) 325-1719 <= 2400 ; (404) 321-5020 >= 2400 "Live simply, so that others may simply live."