Cygwin: sockets: move common settings into set_socket_handle()
Move setting address family, socket type and descriptor flags into fhandler_socket::set_socket_handle method. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -557,7 +557,7 @@ class fhandler_socket: public fhandler_base
|
||||
} status;
|
||||
|
||||
#ifdef __INSIDE_CYGWIN_NET__
|
||||
int set_socket_handle (SOCKET sock);
|
||||
int set_socket_handle (SOCKET sock, int af, int type, int flags);
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user