DEVJO
25-07-06, 13:12
Hi,
versuche gerade mittels der SetSockOpt die Option SO_RCVTIMEO zu setzen, bekomme allerdings als ReturnCode lediglich -1 egal, was ich probiere. Hat hier jemand eine Ahnung, wie ich diese Option richtig setze?
setsockopt PR 10i 0 ExtProc('setsockopt')
sock_desc 10i 0 value
level 10i 0 value
option_name 10i 0 value
option_value * value
option_length 10i 0 value
*
SO_RCVTIMEO c const(50)
SO_Reuseaddr c const(55)
Sol_Socket C const(-1)
TimetoWait S 10i 0
Eval TimetoWait = 7
Eval ReturnCode = SetSockOpt(As400sid
:Sol_Socket
:SO_RCVTIMEO
:%ADDR(TimetoWait)
:%SIZE(TimetoWait))
Danke schonmal im vorraus.
versuche gerade mittels der SetSockOpt die Option SO_RCVTIMEO zu setzen, bekomme allerdings als ReturnCode lediglich -1 egal, was ich probiere. Hat hier jemand eine Ahnung, wie ich diese Option richtig setze?
setsockopt PR 10i 0 ExtProc('setsockopt')
sock_desc 10i 0 value
level 10i 0 value
option_name 10i 0 value
option_value * value
option_length 10i 0 value
*
SO_RCVTIMEO c const(50)
SO_Reuseaddr c const(55)
Sol_Socket C const(-1)
TimetoWait S 10i 0
Eval TimetoWait = 7
Eval ReturnCode = SetSockOpt(As400sid
:Sol_Socket
:SO_RCVTIMEO
:%ADDR(TimetoWait)
:%SIZE(TimetoWait))
Danke schonmal im vorraus.