文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 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

Fig.3.Componentsofanoverlaysocket.

–Theoverlaynodeimplementsanoverlayprotocolthatestablishesandmaintains

theoverlaynetworktopology.Theoverlaynodesendsandreceivesoverlayprotocol

messages,andmaintainsasetoftimers.Theoverlaynodeistheonlycomponent

ofanoverlaysocketthatisawareoftheoverlaytopology.

–Theforwardingengineperformsthefunctionsofanapplication-layerrouter,that

sends,receives,andforwardsformattedapplication-layermessagesintheoverlay

network.Theforwardingenginecommunicateswiththeoverlaynodetoquerynext

hoproutinginformationforapplicationmessages.Theforwardingdecisionismade

usinglogicaladdressesoftheoverlaynodes.

–Eachoverlaysockethastwoadaptersthateachprovidesaninterfacetotransport-

layerprotocols,suchasTCPorUDP.Thenodeadapterservesastheinterfacefor

sendingandreceivingoverlayprotocolmessages,andthesocketadapterservesas

theinterfaceforapplicationmessages.Eachadapterhasatransportleveladdress,

which,inthecaseoftheInternet,consistsofanIPaddressandaUDPorTCPport

number.Currently,therearethreedifferenttypesofadapters,forTCP,UDP,and

UDPmulticast.Usingtwoadapterscompletelyseparatesthehandlingofmessages

formaintainingtheoverlayprotocolandthemessagesthattransportapplication

data.Particularly,socketandnodeadaptersinthesameoverlaysocketneednotuse

thesametransportprotocol.Havingtwoadapterssimpli esthesupportformultiple

overlaynetworkprotocols,sincechangestotheoverlayprotocolanditsmessage

formatsdoesnothaveanimpactontheprocessingofapplicationdata.

–Theapplicationreceivebufferandapplicationtransmitbuffercantemporarily

storemessagesthat,respectively,havebeenreceivedbythesocketbutnotbeen

deliveredtotheapplication,orthathavebeenreleasedbytheapplicationprogram,

上一页第5页

你可能喜欢

热门文档

相关文档

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