project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h
changeset 6320 238a6dc0e7ad
parent 6246 6b2d19ed521a
child 6337 84e7d1a5e3df
--- 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