can create a socket from a fd
This commit is contained in:
		@@ -37,8 +37,8 @@
 | 
			
		||||
 | 
			
		||||
namespace ix 
 | 
			
		||||
{
 | 
			
		||||
    Socket::Socket() : 
 | 
			
		||||
        _sockfd(-1)
 | 
			
		||||
    Socket::Socket(int fd) : 
 | 
			
		||||
        _sockfd(fd)
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user