can create a socket from a fd
This commit is contained in:
1 parent
43cd6d34ca
commit
ea07afcc0b
8 files changed
+82
-48
No files matched your search
@@ -37,8 +37,8 @@
|
||||
|
||||
namespace ix
|
||||
{
|
||||
Socket::Socket() :
|
||||
_sockfd(-1)
|
||||
Socket::Socket(int fd) :
|
||||
_sockfd(fd)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user