Fixes for boost 1.35.0 with msvc - mainly winsock vs. winsock2 related.

This commit is contained in:
lotodore
2008-04-16 20:38:11 +00:00
parent f981ea504c
commit 2e38f58e13
13 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ socket_string_to_addr(const char *str, int addrFamily, struct sockaddr * addr, i
}
bool
socket_addr_to_string(struct sockaddr *addr, int addrLen, int addrFamily, char *str, int strLen)
socket_addr_to_string(struct sockaddr *addr, int addrLen, int /*addrFamily*/, char *str, int strLen)
{
bool retVal = false;
retVal = (WSAAddressToStringA(addr, addrLen, NULL, str, (DWORD *)&strLen) != SOCKET_ERROR);