This commit was generated by cvs2svn to compensate for changes in r164,
[gnokii.git] / gnokiid / gnokiid.c
index e0b8f16..26cb16f 100644 (file)
@@ -14,6 +14,9 @@
   various daemon functions.
 
   $Log$
+  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
 
@@ -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) {