14 lines
159 B
C
14 lines
159 B
C
#include "native.h"
|
|
|
|
void init_sockets(void)
|
|
{
|
|
WSADATA data;
|
|
WSAStartup(0x0202, &data);
|
|
}
|
|
|
|
void close_socket(int socket)
|
|
{
|
|
closesocket(socket);
|
|
}
|
|
|