[comp.protocols.tcp-ip] 8K limitation and sendto

TAYBENGH@NUSDISCS.BITNET (01/14/91)

Hi,
        The 8K limitation in Sun UDP-based RPC is imposed by socket library.
Since it is possible to increase the socket send/recv buffer size by calling
setsockopt() up to a certain limit (in SunOS4.1, the limit is around 52000),
do you think it is wise to incooprate this into SunRPC library to circumvent
the 8K limitation?
        Thanks a lot for your help.

p/s: will I have problems port it over to platfroms other than BSD if I use
     setsockopt()? Is this function widely supported? I know it is NOT
     supported in WIN/TCP for 3B15 in my site.

Another Note: Most of the responses I got suggest if large amount of data
              is expected in using Sun RPC, use TCP-based instead of UDP-based.

- Beng Hang (email: taybengh@nusdiscs.bitnet)