Handle UDP socket stream correctly.
[silc.git] / lib / silcutil / silcsocketstream_i.h
index 46c5ef2921ab8ed2c8db94515e5ce51ebbb7f601..73547ea27d8d766a64b51d962a363e2b63b538bc 100644 (file)
@@ -52,7 +52,8 @@ struct SilcSocketStreamStruct {
   SilcSocketQos qos;
   SilcStreamNotifier notifier;
   void *notifier_context;
-  unsigned int ipv6      : 1;
+  unsigned int ipv6      : 1;       /* UDP IPv6 */
+  unsigned int connected : 1;      /* UDP connected state */
 };
 
 #endif /* SILCSOCKETSTREAM_I_H */