mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
Don't need to explicitly demand IPPROTO_TCP (and doing so breaks some
SOCKET_LEGACY builds)
This commit is contained in:
parent
32423b9e4b
commit
2b437ccb8c
@ -153,7 +153,7 @@ static bool init_tcp_socket(netplay_t *netplay, void *direct_host,
|
||||
struct netplay_host *host = (struct netplay_host *) direct_host;
|
||||
hints.ai_family = host->addr.sa_family;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_protocol = IPPROTO_TCP;
|
||||
hints.ai_protocol = 0;
|
||||
hints.ai_addrlen = host->addrlen;
|
||||
hints.ai_addr = &host->addr;
|
||||
res = &hints;
|
||||
|
Loading…
Reference in New Issue
Block a user