Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git] / gnokiid / gnokiid.c
index 6de7c17..26cb16f 100644 (file)
   various daemon functions.
 
   $Log$
-  Revision 1.1.1.1  2001/11/25 21:59:18  short
-  :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
+  Revision 1.1.1.4  2002/04/03 01:44:15  short
+  Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
+
+  Revision 1.1.1.3  2002/04/03 00:08:17  short
+  Found in "gnokii-working" directory, some November-patches version
 
   Revision 1.19  2001/06/28 00:28:45  pkot
   Small docs updates (Pawel Kot)
@@ -123,6 +126,10 @@ int main(int argc, char *argv[])
                 connection=GCT_Infrared;
         }
 
+        if (!strcmp(Connection, "tcp")) {
+                connection=GCT_TCP;
+        }
+
         TerminateThread=false;
 
         if (VM_Initialise(Model, Port, Initlength, connection, BinDir, DebugMode, true) == false) {