[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RECV problem?
Dear all,
For one of our applications we want to make use of the Socketoption
SO_RCVTIME to set the maxtime a RECV action may take.
For some reason the RECV ignores this option and when we do a
GETSOCKOPT we do not see the value set.
See the following source snippets
D wwTimeOut S 10I 0
D wwTimeOut2 S 10I 0
C EVAL TCP = TCP_conn(IPADDR:
C $H05N0)
C callp setsockopt(TCP: SOL_SOCKET:
SO_RCVTIME:
C %addr(wwTimeOut):
%size(wwTimeOut))
C callp getsockopt(TCP: SOL_SOCKET:
SO_RCVTIME:
C %addr(wwTimeOut2):
wwTimeOut2)
Obviously something is wrong.
But I do not see what!!
Kind regards,
Eduard Sluis.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------