分布式计算原理与应用(Distributed_Computing)第六章课件-stu.ppt

分布式计算原理与应用(Distributed_Computing)第六章课件-stu.ppt

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
分布式计算原理与应用(Distributed_Computing)第六章课件-stu

* Distributed Computing, M. L. Liu * The Java Basic Multicast API - 3 3. DatagramSocket: In the datagram socket API, this class represents a socket through which a process may send or receive data. 4. MulticastSocket : A MulticastSocket is a DatagramSocket, with additional capabilities for joining and leaving a multicast group. An object of the multicast datagram socket class can be used for sending and receiving IP multicast packets. * Distributed Computing, M. L. Liu * IP Multicast addresses Instead of a single process, a multicast datagram is meant to be received by all the processes that are currently members of a specific multicast group. Hence each multicast datagram needs to be addressed to a multicast group instead of an individual process. The Java multicast API uses the Internet Protocol (IP) multicast addresses for identifying multicast groups. In IPv4a multicast group is specified by (i) a class D IP address combined with (ii) a standard UDP port number. * Distributed Computing, M. L. Liu * IP Multicast addresses - 2 Class D IP addresses are those with the prefix bit string of 1110, and hence these addresses are in the range of 224.0.0.0 to 239.255.255.255, inclusive. Excluding the four prefix bits, there are 32-4=28 remaining bits, resulting in an address space of 228; that is, approximiate 268 million class D addresses are available, although the address 224.0.0.0 is reserved and should not be used by any application.. IPv4 multicast addresses are managed and assigned by the Internet Assigned Numbers Authority (IANA) * Distributed Computing, M. L. Liu * IP Multicast addresses - 3 An application which uses the Java multicast API must specifiy at least one multicast address for the application. To select a multicast address for an application, there are the following options: 1. Obtain a permanently assigned static multicast address from IANA: Permanent addresses are limited to global, well-known Internet applications, and the

文档评论(0)

dajuhyy + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档