Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!jetson.uh.edu!elee6i5 From: elee6i5@jetson.uh.edu Newsgroups: comp.unix.questions Subject: A Simple Question on Socket Message-ID: <7099.270a4340@jetson.uh.edu> Date: 4 Oct 90 00:59:59 GMT Organization: University of Houston Lines: 22 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@jetson.uh.edu