Adjust to ObjFW API and fix a disconnect bug.

FossilOrigin-Name: 18137016905f0581bc493e61961522356acab11c15d53f561447045acc6e202c
This commit is contained in:
Jonathan Schleifer 2013-07-12 14:12:16 +00:00
parent 52fcf8b32d
commit 9e71cf9de7
4 changed files with 42 additions and 27 deletions

View file

@ -89,6 +89,7 @@
@property (readonly, retain) OFTCPSocket *socket;
#endif
+ (instancetype)connection;
- (void)setServer: (OFString*)server;
- (OFString*)server;
- (void)setPort: (uint16_t)port;