1.SysSockCreate 2.SysSockBind 3.SysSockListen
How can I know which socket has data coming in? The following is my test code, I found that SysSockselect can only detect SOCKET_FD_SET.fd_array[0].
Suppose I save the second TCPSocket into SOCKET_FD_SET.fd_array[1]. When data comes, SysSockselect cannot detect it.
HELP! THANKS!!!
Log in to post a comment.
1.SysSockCreate
2.SysSockBind
3.SysSockListen
How can I know which socket has data coming in?
The following is my test code, I found that SysSockselect can only detect SOCKET_FD_SET.fd_array[0].
Suppose I save the second TCPSocket into SOCKET_FD_SET.fd_array[1]. When data comes, SysSockselect cannot detect it.
HELP!
THANKS!!!
Last edit: fox-fox 2020-09-18