Socket Option SO_MAXMSG

Hi Netsilicon, According to NetOs 5.0 Application Software Reference Guide on page 271, SO_MAXMSG should be 1458. I get zero when reading the default value: nSockOptLen = sizeof(int); nRet = getsockopt(nSockTmp, SOL_SOCKET, SO_MAXMSG, (char*)&nSocketOpt, &nSockOptLen); Return value ist zero. So read operation should be o.k… What ist wrong? Regards Christoph

&nSocketOpt returns 1458 when you actually connect to the server since it is dynamic.