资源描述:
《zeromq messaging for many applications》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ZeroMQPieterHintjensZeroMQbyPieterHintjensCopyright©2013PieterHintjens.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsare
2、alsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:AndyOramandMariaGulickIndexer:AngelaHowardProductionEditor:ChristopherHearseCoverDesigner:RandyComerCopyeditor:Gillian
3、McGarveyInteriorDesigner:DavidFutatoProofreader:RachelHeadIllustrator:RebeccaDemarestandKaraEbrahimMarch2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-03-11:FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449334062forreleasedetails.NutshellHandbook,theNutshellHandboo
4、klogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.ZeroMQ,theimageofafourhornsculpin,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisboo
5、k,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.IS
6、BN:978-1-449-33406-2[LSI]ToNoémie,Freeman,andGregor.TableofContentsPreface......................................................................xiiiPartI.LearningtoWorkwithØMQ1.Basics......................................................................3FixingtheWorld3AudienceforThisBook5G
7、ettingtheExamples5AskandYeShallReceive5AMinorNoteonStrings10VersionReporting11GettingtheMessageOut11DivideandConquer16ProgrammingwithØMQ21GettingtheContextRight21MakingaCleanExit22WhyWeNeededØMQ23SocketScalability27UpgradingfromØMQv2.2toØMQv3.227Warning:Unstab