'
' tcp connection states
LET tclosed&=FALSE
LET tlisten&=1
LET tsyn_sent&=2
LET tsyn_recv&=3
LET testablish&=4
LET tfin_wait1&=5
LET tfin_wait2&=6
LET tclose_wait&=7
LET tclosing&=8
LET tlast_ack&=9
LET ttime_wait&=10
'
' tcp and connection error states
LET e_normal&=FALSE
LET e_obuffull&=-1
LET e_nodata&=-2
LET e_eof&=-3
LET e_rreset&=-4
LET e_ua&=-5
LET e_nomem&=-6
LET e_refuse&=-7
LET e_badsyn&=-8
LET e_badhandle&=-9
LET e_listen&=-10
LET e_noccb&=-11
LET e_noconnection&=-12
LET e_connectfail&=-13
LET e_badclose&=-14
LET e_usertimeout&=-15
LET e_cntimeout&=-16
LET e_cantresolve&=-17
LET e_baddname&=-18
LET e_lostcarrier&=-19
LET e_nohostname&=-20
LET e_dnsworklimit&=-21
LET e_nonameserver&=-22
LET e_dnsbadformat&=-23
LET e_unreachable&=-24
LET e_dnsnoaddr&=-25
LET e_noroutine&=-26
LET e_locked&=-27
LET e_fragment&=-28
LET e_ttlexceed&=-29
LET e_parameter&=-30
LET e_bigbuf&=-31
LET e_badroutine&=-32
LET e_deffered&=-33
LET e_lasterror&=33
'
