From 30094cdb68a1672c020aa8f07539c249e5362f46 Mon Sep 17 00:00:00 2001 From: Dwight Date: Thu, 13 Dec 2007 15:36:56 -0500 Subject: make regex smart --- grid/message.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'grid/message.cpp') diff --git a/grid/message.cpp b/grid/message.cpp index d39b145260e..8831a9c6246 100644 --- a/grid/message.cpp +++ b/grid/message.cpp @@ -18,7 +18,9 @@ void Listener::listen() { return; } if( bind(sock, (sockaddr *) &me.sa, me.addressSize) != 0 ) { - cout << "listen(): bind() failed" << errno << endl; + cout << "listen(): bind() failed errno:" << errno << endl; + if( errno == 98 ) + cout << "98 == addr already in use" << endl; closesocket(sock); return; } -- cgit v1.2.1