Posible implementation for winsock