Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucsd!ames!haven!adm!news From: TAYBENGH%NUSDISCS.BITNET@cunyvm.cuny.edu Newsgroups: comp.unix.wizards Subject: TCP socket using BSD recv() (WIN/TCP for VMS) Message-ID: <22791@adm.BRL.MIL> Date: 19 Mar 90 07:52:20 GMT Sender: news@adm.BRL.MIL Lines: 13 I faced the similar problem as King when I used BSD recv() provided by WIN/TCP for VMS Release 3.2. The maximum size received is only 4K for TCP. But one thing puzzled me is I always get 1K in the very first recv() call, only then I receive the remaining data, if the buffer size sent > 1K. For example, if the client sends 5K of data, then the server's first recv() call get 1K, and the second recv() will get the remaining 4K. Anybody has encountered the same problem before? Any helps is very much appreciated. Thanks! -Beng Hang Tay (email address: taybengh@nusdiscs.bitnet) Department of Information Systems and Computer Science National University of Singapore