Chinaunix首页 | 论坛 | 博客
  • 博客访问: 273441
  • 博文数量: 67
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 620
  • 用 户 组: 普通用户
  • 注册时间: 2015-07-12 19:56
文章分类

全部博文(67)

文章存档

2019年(1)

2018年(1)

2017年(4)

2016年(34)

2015年(27)

我的朋友

发布时间:2016-09-07 09:25:31

224.0.0.0--239.255.255.255,没有像单播ip段那样有广播地址和网络地址之分了。具体:224.0.0.0--224.0.0.255 本地保留,给知名协议使用,ttl=1。其中224.0.0.1是本网所有主机接收,224.0.0.2是本网所有路由器接收。224.0.1.0~238.255.255.255 预留组播地址,[1]  多播地址应从此范围内选择。239.0.0.0--239.255.2.........【阅读全文】

阅读(1651) | 评论(0) | 转发(0)

发布时间:2016-09-04 10:16:28

11.3  多播单播用于两个主机之间的端对端通信,广播用于一个主机对整个局域网上所有主机上的数据通信。单播和广播是两个极端,要么对一个主机进行通信,要么对整个局域网上的主机进行通信。实际情况下,经常需要对一组特定的主机进行通信,而不是整个局域网上的所有主.........【阅读全文】

阅读(8365) | 评论(0) | 转发(0)

发布时间:2016-09-01 16:00:50

Welcome to the wonderful world of portability... or rather the lack of it. Before we start analyzing these two options in detail and take a deeper look how different operating systems handle them, it should be noted that the BSD socket implementation is the mother of all socket implementati.........【阅读全文】

阅读(1503) | 评论(0) | 转发(0)

发布时间:2016-09-01 14:32:11

IP multicasting provides the capability for anapplication to send a single IP datagram that a group of hosts in a networkcan receive. The hosts that are in the group may reside on a singlesubnet or may be on different subnets that connect multicast-capablerouters. Hosts may join and leave .........【阅读全文】

阅读(1348) | 评论(0) | 转发(0)

发布时间:2016-09-01 14:30:48

The following example enables a socket to perform the steps listed belowand to send multicast datagrams:Create an AF_INET, SOCK_DGRAM type socket.Initialize a sockaddr_in structure with the destination group IP addressand port number.Set the IP_MULTICAST_LOOP socket opti.........【阅读全文】

阅读(1519) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册