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:
zoltanvb 2024-05-05 12:48:37 +02:00 committed by GitHub
parent 17b9324a24
commit 3092740312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -586,7 +586,7 @@ static void open_UDP_socket()
socket_target_t in_target;
if (s && s != SOCKET_ERROR)
close(s);
socket_close(s);
s = socket_create(
"retropad",