Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
[gnokii.git] / xgnokii / xgnokii_lowlevel.c
index 528a433..73b0b50 100644 (file)
@@ -11,6 +11,9 @@
   Released under the terms of the GNU GPL, see file COPYING for more details.
 
   $Log$
   Released under the terms of the GNU GPL, see file COPYING for more details.
 
   $Log$
+  Revision 1.1.1.5  2002/04/03 01:44:15  short
+  Implemented connection type "tcp" (GCT_TCP), use <hostname>:<port> as "port"
+
   Revision 1.1.1.4  2002/04/03 00:08:33  short
   Found in "gnokii-working" directory, some November-patches version
 
   Revision 1.1.1.4  2002/04/03 00:08:33  short
   Found in "gnokii-working" directory, some November-patches version
 
@@ -200,6 +203,9 @@ static GSM_Error fbusinit(bool enable_monitoring)
   if (!strcmp(xgnokiiConfig.connection, "irda"))
     connection = GCT_Irda;
 
   if (!strcmp(xgnokiiConfig.connection, "irda"))
     connection = GCT_Irda;
 
+  if (!strcmp(xgnokiiConfig.connection, "tcp"))
+    connection = GCT_TCP;
+
   /* Initialise the code for the GSM interface. */     
 
   if (error == GE_NOLINK)
   /* Initialise the code for the GSM interface. */     
 
   if (error == GE_NOLINK)