mirror of
https://github.com/CPunch/Laika.git
synced 2026-01-04 19:50:08 +00:00
Moved setPollIn flag to sLaika_socket from sLaika_peer
This commit is contained in:
@@ -56,7 +56,6 @@ struct sLaika_peer {
|
||||
OSTYPE osType;
|
||||
int outStart; /* index of pktID for out packet */
|
||||
int inStart; /* index of pktID for in packet */
|
||||
bool setPollOut; /* is EPOLLOUT/POLLOUT is set on sock's pollfd ? */
|
||||
bool useSecure; /* if true, peer will transmit/receive encrypted data using inKey & outKey */
|
||||
};
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user