Made it so that the stupid client DISCONNECTS, with the side effect of
[MenuTunes.git] / NetworkController.h
index ae40030..1f1f799 100755 (executable)
@@ -24,7 +24,7 @@
     NSMutableArray *remoteServices;
     
     NSConnection *serverConnection, *clientConnection;
-    NSSocketPort *serverPort, *clientPort;
+    NSSocketPort *clientPort;
     NSString *remoteHost;
     BOOL serverOn, clientConnected, connectedToServer;
     NSData *serverPass, *clientPass;
@@ -36,7 +36,7 @@
 - (void)stopRemoteServerSearch;
 
 - (void)setServerStatus:(BOOL)status;
-- (BOOL)connectToHost:(NSString *)host;
+- (int)connectToHost:(NSString *)host;
 - (BOOL)checkForServerAtHost:(NSString *)host;
 - (BOOL)disconnect;
 - (BOOL)isServerOn;