mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
[netplay] this should fix netplay server on android, tested on windows and linux too
This commit is contained in:
parent
eccda8c39a
commit
690cb138e9
@ -165,7 +165,7 @@ static bool send_chunk(netplay_t *netplay)
|
||||
{
|
||||
if (sendto(netplay->udp_fd, (const char*)netplay->packet_buffer,
|
||||
sizeof(netplay->packet_buffer), 0, addr,
|
||||
sizeof(struct sockaddr)) != sizeof(netplay->packet_buffer))
|
||||
sizeof(struct sockaddr_in6)) != sizeof(netplay->packet_buffer))
|
||||
{
|
||||
warn_hangup();
|
||||
netplay->has_connection = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user