Implemented unicode-based name resolution.

This commit is contained in:
lotodore
2007-02-11 21:22:45 +00:00
parent 971c95d200
commit 83804055d7
7 changed files with 176 additions and 18 deletions
@@ -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()