No need to use net_bind

This commit is contained in:
simon.kagstrom 2009-03-29 16:46:55 +00:00
parent 2e429f2418
commit 98b6ad2e55

View File

@ -56,8 +56,7 @@ bool Network::InitSocket(const char *remote_host, int port)
/* Connect to the server. */
this->InitSockaddr(&this->connection_addr, remote_host, port);
fprintf(stderr, "Bajning: %d\n",
net_bind(this->sock,(struct sockaddr *)&this->connection_addr,sizeof(struct sockaddr)));
return true;
}