Fixed a namespace collision that was causing compile errors in VS2010. bind() was being interpreted as std::bind(), not the winsock bind() call.

This commit is contained in:
wrenczes@gmail.com
2011-03-31 11:07:50 +00:00
parent e7f2ae4e6e
commit 64d421b8b8
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ JSocket::JSocket()
Adresse_Socket_Connection.sin_family=AF_INET;
Adresse_Socket_Connection.sin_port=htons(SERVER_PORT);
result=bind(mfd,
result=::bind(mfd,
(struct sockaddr*)&Adresse_Socket_Connection,
sizeof(Adresse_Socket_Connection));
if(result!=0){