can create a socket from a fd

This commit is contained in:
Benjamin Sergeant committed 2018-12-29 21:53:33 -08:00
1 parent 43cd6d34ca
commit ea07afcc0b
8 files changed
+82 -48

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ namespace ix
public:
using OnPollCallback = std::function<void()>;
Socket();
Socket(int fd = -1);
virtual ~Socket();
void configure();