Could anyone elaborate a little on the 'CmpErrors2 interface' error 0x206, please?
It reads "ERR_SOCK_WOULDBLOCK UDINT 16#206 Socket is in nonblocking mode but THIS call would block"
So the nonblocking socket will block now, or what?
Last edit: Ulvis 2022-11-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It means that the call would block if the socket was blocking, but it does not because it is non-blocking.
It basically means "I cannot read/write anything, since you do not want me to block until I can, just retry later".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could anyone elaborate a little on the 'CmpErrors2 interface' error 0x206, please?
It reads "ERR_SOCK_WOULDBLOCK UDINT 16#206 Socket is in nonblocking mode but THIS call would block"
So the nonblocking socket will block now, or what?
Last edit: Ulvis 2022-11-07
https://stackoverflow.com/questions/11927848/ewouldblock-error-in-socket-programming
It means that the call would block if the socket was blocking, but it does not because it is non-blocking.
It basically means "I cannot read/write anything, since you do not want me to block until I can, just retry later".