@@ -6,19 +6,34 @@ * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ + +#ifndef _WIN32 +# include +# include +# include +#endif #import "OFSocket.h" + +#ifdef _WIN32 +# include +#endif @class OFString; /** * The OFTCPSocket class provides functions to create and use sockets. */ -@interface OFTCPSocket: OFSocket {} +@interface OFTCPSocket: OFSocket +{ + struct sockaddr *saddr; + socklen_t saddr_len; +} + /** * Connect the OFTCPSocket to the specified destination. * * \param service The service on the node to connect to * \param node The node to connect to