Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!uunet!rbj From: rbj@uunet.uu.net (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Re: socket problem? Message-ID: <1991May29.222235.17752@uunet.uu.net> Date: 29 May 91 22:22:35 GMT References: <1991May20.210923.12177@rfengr.com> Organization: UUNET Communications Services, Falls Church, VA Lines: 15 subbarao@phoenix.Princeton.EDU (Kartik Subbarao) writes: ?In article <1991May20.210923.12177@rfengr.com> brian@coconut.com writes: ?> ?> read( sd, &theStruct, sizeof(theStruct) ); ?> ?>where sd is the socket descriptor and theStruct is just some big structure. ?>Read returns a value of 3 or it just blocks altogether. Any ideas? ? ?This is not a "bug", but rather a documented feature of sockets... I know. But why a value of `3'? Often on the first read. I have seen this exact behavior. What is special about `3'? -- [rbj@uunet 1] stty sane unknown mode: sane