@@ -26,11 +26,11 @@ { OFTCPSocket *socket; } #ifdef OF_HAVE_PROPERTIES -@property (readonly, assign) OFTCPSocket *socket; +@property (readonly, retain, nonatomic) OFTCPSocket *socket; #endif /** * \param class_ The class of the object which caused the exception * \param socket The socket which is already connected