Hai all,
Following is an excerpt from my code where i'm trying to resolve the
Lingering behaviour
Can any one plz tell me where am i going wrong ..and if not, what else could
be the Problem ..
// Inside Connect My Funtion
NetSocketLingerType LingerOpt;
NetLibSocketOpen()
LingerOpt.onOff = 0;
OptionSet = NetLibSocketOptionSet( gP->AppNetRefnum, gP->SocketID,
netSocketOptLevelSocket, netSocketOptSockLinger,
&LingerOpt,
sizeof(LingerOpt), i32Timeout, &hErrorCode);
if(hErrorCode!=0)ErrAlert(hErrorCode);
//here NetLibSocketOptionSet is always successfull : i don get any ErrAlert
NetLibSocketConnect()
/// Inside My close Function///
NetLibSocketShutdown()
NetLibSocketClose()
SysTaskDelay(3*SysTicksPerSecond());
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/