Bug fix: Connection fd lookup in service

This commit is contained in:
Joseph Henry 2015-10-12 20:46:59 -04:00
commit 8d1b01cb5b
4 changed files with 127 additions and 29 deletions

View file

@ -139,7 +139,7 @@ private:
}
// Client helpers
TcpConnection *getConnectionByTheirFD(int fd);
TcpConnection *getConnectionByTheirFD(PhySocket *sock, int fd);
TcpConnection *getConnectionByPCB(struct tcp_pcb *pcb);
void closeConnection(TcpConnection *conn);
void closeAll();