文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Programming Overlay Networks with Overlay Sockets
侵权投诉

Programming Overlay Networks with Overlay Sockets

Abstract. The emergence of application-layer overlay networks has inspired the development of new network services and applications. Research on overlay networks has focused on the design of protocols to maintain and forward data in an overlay network, how

Programming Overlay Networks with Overlay Sockets

Programming Overlay Networks with Overlay Sockets

Programming Overlay Networks with Overlay Sockets

(a) Multicast (b) Unicast

Fig.1.TheoverlaynetworkisacollectionofFig.2.Dataforwardinginoverlaynetworks.

overlaysockets.

ferent,overlaynetworktopologiesanddifferenttransmissionmodes(UDP,TCP),and,

therefore,needsmechanismsthatmakeiteasytochangethecon gurationoftheun-

derlyingoverlaynetwork.

Therestofthepaperisorganizedasfollowing.InSection2weintroducecon-

cepts,abstractions,andterminologyneededforthediscussionoftheoverlaysocket.In

Section3wepresentthedesignoftheoverlaysocket,anddiscussitscomponents.In

Section4weshowhowtowriteprogramsusingtheoverlaysocket.Wepresentbrief

conclusionsinSection5.

2BasicConcepts

Anoverlaysocketisanendpointforcommunicationinanoverlaynetwork,andan

overlaynetworkisseenasacollectionofoverlaysocketsthatself-organizeusingan

overlayprotocol(seeFigure1).Anoverlaysocketofferstoanapplicationprogrammer

aBerkeleysocket-styleAPI[3]forsendingandreceivingdataoveranoverlaynetwork.

Eachoverlaysocketexecutesanoverlayprotocolthatisresponsibleformaintainingthe

membershipofthesocketintheoverlaynetworktopology.

Eachoverlaysockethasalogicaladdressandaphysicaladdressintheoverlay

network.Thelogicaladdressisdependentonthetypeofoverlayprotocolused.Inthe

overlayprotocolscurrentlyimplementedinHyperCast2.0,thelogicaladdressesare32-

bitintegersorxycoordinates,wherexandyarepositive32-bitpositiveintegers.The

physicaladdressisatransportlayeraddresswhereoverlaysocketsreceivemessages

fromtheoverlaynetwork.OntheInternet,thephysicaladdressisanIPaddressand

aTCPorUDPportnumber.Applicationprogramsthatuseoverlaysocketsonlywork

withlogicaladdresses,anddonotseephysicaladdressesofoverlaynodes.

Whenanoverlaysocketiscreated,thesocketiscon guredwithasetofcon gu-

rationparameters,calledattributes.Theapplicationprogramcanobtaintheattributes

上一页第3页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email