diff options
author | Martin Mares <mj@ucw.cz> | 1999-04-12 14:57:46 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-04-12 14:57:46 +0000 |
commit | 5a99ade413b97a780758f5c8f927604ad6c8e57b (patch) | |
tree | 55c85d0b8a24755fd3409ba610b77871a88fd2a4 /lib | |
parent | bad631e04806287e99e2464c0fdc884f9efa1e71 (diff) |
Fixed a couple of bugs in handling of multicast sockets.
See comments in lib/socket.h for a detailed guide on how to use them.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/socket.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/socket.h b/lib/socket.h index 2c5ab4f8..bb9c1c3d 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -55,8 +55,16 @@ void sk_dump_all(void); #define SK_TCP 2 #define SK_UDP 3 /* ? ? - - - ? ? */ #define SK_UDP_MC 4 /* ? ? * * * * - */ -#define SK_IP 5 /* ? ? - * - ? ? */ -#define SK_IP_MC 6 /* ? ? * * * * - */ +#define SK_IP 5 /* ? - - * - ? ? */ +#define SK_IP_MC 6 /* ? - * * * * - */ #define SK_MAGIC 7 /* Internal use by sysdep code */ +/* + * Multicast sockets are slightly different from the other ones: + * If you want to send packets only, just set the destination + * address to the corresponding multicast group and iface to + * the interface to be used. If you also want receiving, set + * source address to the same multicast group as well. + */ + #endif |