Closed irvingoujAtDevolution closed 9 months ago
when creating TCP connection, sometimes there's no tcp server listening at the other end, then the event will be
event=Event { key: 1, readable: true, writable: true, extra: EventExtra { flags: CONNECT_FAIL } }
when polled
How do I read this extra field of the event to know that it has failed.
What event are you talking about? Socket2 doesn't provide any polling.
sorry, wrong repository
when creating TCP connection, sometimes there's no tcp server listening at the other end, then the event will be
when polled
How do I read this extra field of the event to know that it has failed.