@@ -34,13 +34,13 @@ * To connect to a server, create a socket and connect it. * To create a server, create a socket, bind it and listen on it. */ @interface OFTCPSocket: OFStreamSocket { - BOOL isListening; - struct sockaddr *sockAddr; - socklen_t sockAddrLen; + BOOL isListening; + struct sockaddr_storage *sockAddr; + socklen_t sockAddrLen; } /** * Connect the OFTCPSocket to the specified destination. *