i soft Ci tego nie puścił 
res = bind(sock, (struct sockaddr *) &myaddr, sizeof (struct sockaddr_in));
if (res != 0)
{
wxLogSysError(wxT("IRCClient::Entry: bind"
);
#if defined(__WINDOWS__)
closesocket(sock);
jest tu taki myk, że to co wpisałeś tyczy się ale splita hi.
res = bind(sock, (struct sockaddr *) &myaddr, sizeof (struct sockaddr_in));
if (res != 0)
{
wxLogSysError(wxT("IRCClient::Entry: bind"
#if defined(__WINDOWS__)
closesocket(sock);
jest tu taki myk, że to co wpisałeś tyczy się ale splita hi.