hi carlos,
i am using different socket handle only. but my question was, just assume i am passing any one parameter below,
#define OPT_CONNECT_TIMEOUT 0x01
#define OPT_RECEIVE_NOWAIT 0x09
#define OPT_KEEPALIVE 0x10
#define OPT_TIMEWAIT_TIMEOUT 0x17
and also default time values also defined in rtcs.h file.like Connect Timeout
(OPT_CONNECT_TIMEOUT) 8minute like that. so how it will take corresponding time?is 0x09 or 0x10 or 0x17 have relationship with anyother?.
i gone throught RTCS document also
Option name: OPT_KEEPALIVE
Protocol level :SOL_TCP
Values • Zero (RTCS does not probe the remote endpoint).
• Non-zero (if the connection is idle, RTCS periodically probes the
remote endpoint, an action that detects, whether the remote
endpoint is still present).
Default value : Zero minutes
Change: Before bound
Socket type : Stream
Comments : The option is not a standard feature of the TCP/IP specification and
generates unnecessary periodic network traffic.
thanks and regards,
sudhakar p