LI Dong xia, SU Guang chuan, LI Dong xia. Programming Technology of IP Multicast and Broadcast Based on Socket[J]. JOURNAL OF BEIJING INSTITUTE OF TECHNOLOGY, 2001, 10(3): 316-321.
Citation:
LI Dong xia, SU Guang chuan, LI Dong xia. Programming Technology of IP Multicast and Broadcast Based on Socket[J].JOURNAL OF BEIJING INSTITUTE OF TECHNOLOGY, 2001, 10(3): 316-321.
LI Dong xia, SU Guang chuan, LI Dong xia. Programming Technology of IP Multicast and Broadcast Based on Socket[J]. JOURNAL OF BEIJING INSTITUTE OF TECHNOLOGY, 2001, 10(3): 316-321.
Citation:
LI Dong xia, SU Guang chuan, LI Dong xia. Programming Technology of IP Multicast and Broadcast Based on Socket[J].JOURNAL OF BEIJING INSTITUTE OF TECHNOLOGY, 2001, 10(3): 316-321.
Beginning with the simple introduction of socket which is the most commonly used application program interfaces in UNIX/LINUX communication domain, the concrete programming procedures to realize multicast and broadcast based on socket is provided, according to TCP/IP protocol in LINUX system. The acquiring and converting of broadcast destination address and multicast address, the setting of multicast options, the joining in and withdrawing from the multicast group, and the receiving and sending of datagram are all demonstrated in it, the related system calls and simple explication of C programming are also included.
Leffler S J,Fabry R S,Joy W N.Advanced 4.4BSD interprocess communication[EB/OL]. http://bbs.gznet.edu.cn/cgi-bin/groups/GROU P23/socket/BSDS,1998-05-15/2000-06-01.
[2]
Zhu Sanyuan,Yang Ming,Xue Fang.Network communication software design guide(in Chinese)[M]. Beijing:Tsinghua University Press,1994.
[3]
Stevens W R.TCP/IP illustrated,volume 1:The protocols[M]. Reading,MA:Addison Wesley,1994.