A Simple Question on Socket
elee6i5 at jetson.uh.edu
elee6i5 at jetson.uh.edu
Thu Oct 4 10:59:59 AEST 1990
I am trying to recv data on a connected STREAM socket
(INET domain).
int recv
char *buf;
What is the max size of buf that can be filled with
a single call to recv ?
It returns after reading only 1490 or so bytes.
getscokopt with SO_RCVBUF option returned a buffer size
of 4096. When I tried setsockopt to change the buff size
it failed.
Any light (in the form of mail) would be appreciated.
Thanks in advance,
.sundar
elee6i5 at jetson.uh.edu
More information about the Comp.unix.questions
mailing list