@@ -41,10 +41,20 @@ { if (self == [OFTCPSocket class]) mutex = [[OFMutex alloc] init]; } #endif + +- init +{ + self = [super init]; + + sock = INVALID_SOCKET; + saddr = NULL; + + return self; +} - (void)dealloc { if (sock != INVALID_SOCKET) close(sock);