Path: utzoo!news-server.csri.toronto.edu!rutgers!cmcl2!uupsi!njin!princeton!phoenix.Princeton.EDU!subbarao From: subbarao@phoenix.Princeton.EDU (Kartik Subbarao) Newsgroups: comp.protocols.tcp-ip Subject: Re: Blocking /non blocking Message-ID: <7046@idunno.Princeton.EDU> Date: 11 Mar 91 13:29:28 GMT References: <7123@bgsuvax.UUCP> Sender: news@idunno.Princeton.EDU Distribution: usa Lines: 18 In article <7123@bgsuvax.UUCP> majumdar@bgsuvax.UUCP (anindo Majumdar) writes: > >Are the sendto and recvfom calls (between datagram sockets) blocking or >non blocking? The manual says both cas return the no of bytes send/recd. >Does this mean that the call blocks untill the no of bytes specified is sent >or recd by the destination address. I'd assume so, unless you did an fcntl(socket, F_SETFL, FNDELAY) somewhere that would set it to non-blocking. -Kartik -- internet# find . -name core -exec cat {} \; |& tee /dev/tty* subbarao@phoenix.Princeton.EDU -| Internet kartik@silvertone.Princeton.EDU (NeXT mail) SUBBARAO@PUCC.BITNET - Bitnet