Can you be more specific on how to code OPT_RECEIVE_NOWAIT...
I would suspect it is done with setsockopt and you pass the socket as the first argument... the options for arguments 2 and 3 as well as what you should be doing with the option pointer in 4 is where I am confused.
I am trying this:
nSock = accept( nListenSock, NULL, NULL ) ;
ui32Option = RTCS_MSG_NONBLOCK ;
ui32Error = setsockopt( nSock, SOL_TCP, OPT_NOWAIT, &ui32Option, sizeof(ui32Option) ) ;