Closed shenghaoyang closed 3 years ago
LCDd socket should only be select()'d for EVENT_WRITE only when we want to send data.
Registering it for EVENT_WRITE otherwise would likely cause select() to always return immediately since the TCP socket would most likely be able to accept data.
May close #5.
LCDd socket should only be select()'d for EVENT_WRITE only when we want to send data.
Registering it for EVENT_WRITE otherwise would likely cause select() to always return immediately since the TCP socket would most likely be able to accept data.
May close #5.