TCP_MAXSEG is not supported by all desktop OSes (such as Windows, according to my source code comments), so if you're running this code under Poser, you might get that error code.
Otherwise, you might want to clue us in to what device you're using, what version of the OS you're using, etc. -- Keith Rollin -- Palm OS Emulator engineer At 10:07 PM +0530 5/16/02, Akhilesh Singh wrote: >I am trying to get the TCPMaxSeg using NetLibSocketOptionGet. But the call >is giving me netErrParamErr error. > >following is the code: > > res = NetLibSocketOptionGet (libRefNum, socket, netSocketOptLevelTCP, > netSocketOptTCPMaxSeg, &size, &sizeLen, NET_TIMEOUT, &err); > >Can any one please point out my mistake. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
