TIMEOUT is a reserved word in the compiler. It's not uncommon to vary the spelling to avoid conflicts with reserved words.
Announcement
Collapse
No announcement yet.
Spelling mistake, right?
Collapse
X
-
No it is not.
timeval is a structure
and Tymeout is the variable usage for the structure
Tymeout as timeval
Tymeout.tv_sec
Tymeout.tv_usec
TYPE timeval
tv_sec AS LONG ' seconds
tv_usec AS LONG ' and microseconds
END TYPE
Added:
Sorry I interchange structure and type - one in the same thing.
wr'itefds I would guess is a typo should be writefds
MikeLast edited by Michael Mayerhoffer; 5 Feb 2017, 10:15 PM.
Leave a comment:
-
Spelling mistake, right?
' DECLARE FUNCTION sselect LIB "ws2_32.dll" ALIAS "select" ( _
' BYVAL nfds AS LONG, _
' readfds AS fd_set, _
' wr'itefds AS fd_set, _
' exceptfds AS FD_SET, _
' tymeout AS timeval _ <<< tyme or time???
' ) AS LONGTags: None
Leave a comment: