TCP socket using BSD recv() (WIN/TCP for VMS)

TAYBENGH%NUSDISCS.BITNET at cunyvm.cuny.edu TAYBENGH%NUSDISCS.BITNET at cunyvm.cuny.edu
Mon Mar 19 17:52:20 AEST 1990


        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 at nusdiscs.bitnet)
 Department of Information Systems and Computer Science
 National University of Singapore



More information about the Comp.unix.wizards mailing list