Merge branch 'master' of ssh://git.latenightcoders.com/data/gitroot/p

This commit is contained in:
Eliot Horowitz
2008-01-26 13:12:42 -05:00
6 changed files with 39 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ void Listener::listen() {
cout << "ERROR: listen(): invalid socket? " << errno << endl;
return;
}
prebindOptions( sock );
if( bind(sock, (sockaddr *) &me.sa, me.addressSize) != 0 ) {
cout << "listen(): bind() failed errno:" << errno << endl;
if( errno == 98 )