1
0
mirror of https://github.com/CPunch/Laika.git synced 2026-03-27 20:10:03 +00:00

Moved setPollIn flag to sLaika_socket from sLaika_peer

This commit is contained in:
2022-03-27 17:32:32 -05:00
parent e2e25f5a49
commit 5ece351025
5 changed files with 18 additions and 10 deletions

View File

@@ -77,6 +77,7 @@ struct sLaika_socket {
int outCap;
int inCap;
bool flipEndian;
bool setPollOut; /* is EPOLLOUT/POLLOUT is set on sock's pollfd ? */
};
#define laikaS_isAlive(arg) (arg->sock != INVALID_SOCKET)