Implemented unicode-based name resolution.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#error This source code is not for Win32.
|
||||
#endif
|
||||
|
||||
#include "socket_helper.h"
|
||||
#include <net/socket_helper.h>
|
||||
|
||||
|
||||
bool
|
||||
@@ -35,7 +35,8 @@ socket_string_to_addr(const char *str, int addrFamily, struct sockaddr * addr, i
|
||||
}
|
||||
|
||||
bool
|
||||
socket_resolve(const char *str, int addrFamily, int sockType, int protocol, struct sockaddr *addr, int addrLen)
|
||||
socket_resolve(const char *str, const char *port, int addrFamily, int sockType, int protocol, struct sockaddr *addr, int addrLen)
|
||||
{
|
||||
return internal_socket_resolve(str, port, addrFamily, sockType, protocol, addr, addrLen);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#error This source code is not for Win32.
|
||||
#endif
|
||||
|
||||
#include "socket_startup.h"
|
||||
#include <net/socket_startup.h>
|
||||
|
||||
bool
|
||||
socket_startup()
|
||||
Reference in New Issue
Block a user