Fix socket close method (#16494)
Use the platform independent socket close function from same place where all other socket communication is used from.
This commit is contained in:
parent
17b9324a24
commit
3092740312
|
@ -586,7 +586,7 @@ static void open_UDP_socket()
|
||||||
socket_target_t in_target;
|
socket_target_t in_target;
|
||||||
|
|
||||||
if (s && s != SOCKET_ERROR)
|
if (s && s != SOCKET_ERROR)
|
||||||
close(s);
|
socket_close(s);
|
||||||
|
|
||||||
s = socket_create(
|
s = socket_create(
|
||||||
"retropad",
|
"retropad",
|
||||||
|
|
Loading…
Reference in New Issue