--- a/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h Fri Nov 11 00:23:09 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h Fri Nov 11 01:18:19 2011 +0100
@@ -20,14 +20,23 @@
#import <Foundation/Foundation.h>
-#import "EngineProtocolNetwork.h"
+#import "SDL_net.h"
+//#import "EngineProtocolNetwork.h"
@interface ServerProtocolNetwork : NSObject {
NSInteger serverPort;
NSString *serverAddress;
+ TCPsocket ssd;
}
+@property (assign) TCPsocket ssd;
@property (assign) NSInteger serverPort;
@property (nonatomic,retain) NSString *serverAddress;
+-(id) init;
+-(id) init:(NSInteger) onPort withAddress:(NSString *)address;
+-(id) initOnPort:(NSInteger) port;
+-(id) initToAddress:(NSString *)address;
++(ServerProtocolNetwork *)openServerConnection;
+
@end