socket problem?
Root Boy Jim
rbj at uunet.uu.net
Thu May 30 08:22:35 AEST 1991
subbarao at phoenix.Princeton.EDU (Kartik Subbarao) writes:
?In article <1991May20.210923.12177 at rfengr.com> brian at 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 at uunet 1] stty sane
unknown mode: sane
More information about the Comp.unix.wizards
mailing list