欢迎来到天天文库
浏览记录
ID:235919
大小:41.97 KB
页数:13页
时间:2017-07-11
《TCPIP入门介绍-毕业设计(论文)外文翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、IntroductiontoTCP/IP–IntroductionAuthorCatalystDevelopmentCatalystDevelopmentisarecognizedleaderinInternetcomponentsoftwarewhoseaward-winningproductsareusedbythousandsofcorporate,governmentandindependentdevelopersaroundtheworld.IntroductionWiththeacceptanceofTCP/IPasa
2、standardplatform-independentnetworkprotocol,andtheexplosivegrowthoftheInternet,theWindowsSocketsAPI(applicationprograminterface)hasemergedasthestandardfornetworkprogrammingintheWindowsenvironment.ThisdocumentwillintroducethebasicconceptsbehindWindowsSocketsprogramming
3、andgetyoustartedwithyourfirstapplicationcreatedwithSocketWrench.SocketWrenchispartofapackagedevelopedbyCatalystcalledtheSocketToolsVisualEdition.SocketToolsincludescomponentsandlibrariesformanyofthepopularInternetapplicationprotocols,suchasFTP,POP3,SMTPandHTTP.Formore
4、informationaboutthecompleteSocketToolspackage,visittheCatalystwebsiteatwww.catalyst.com.ItisassumedthatthereaderisfamiliarwithVisualBasicandhasinstalledtheSocketWrenchcontrol.Ifyou'realreadyfamiliarwithsocketsprogramming,feelfreetoskipthissection.Therearetwogeneralapp
5、roachesthatyoucantakewhencreatingaprogramthatusesWindowsSockets.OneistocodedirectlyagainsttheAPI.Theotheristouseacomponentwhichprovidesahigher-levelinterfacetothelibrarybysettingpropertiesandrespondingtoevents.Thiscanprovideamore"natural"programminginterface,anditallo
6、wsyoutoavoidmuchoftheerror-pronedrudgerycommonlyassociatedwithsocketsprogramming.Byincludingthecontrolinaproject,settingsomepropertiesandrespondingtoevents,youcanquicklyandeasilywriteanInternet-enabledapplication.SocketWrenchprovidesacomprehensiveinterfacetotheWindows
7、Socketslibraryandwillbeusedtobuildasimpleclient-serverapplicationinthenextsectionofthisdocument.Beforewegetstartedwiththecontrol,however,we'llcoverthebasicterminologyandconceptsbehindsocketsprogrammingingeneral.TransmissionControlProtocol(TCP)Whentwocomputerswishtoexc
8、hangeinformationoveranetwork,thereareseveralcomponentsthatmustbeinplacebeforethedatacanactuallybesentandreceived.Ofcourse,th
此文档下载收益归作者所有