欢迎来到天天文库
浏览记录
ID:40694426
大小:2.80 MB
页数:328页
时间:2019-08-06
《Network Programming with Windows Sockets》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、IIIntroductiontoIntroductiontoNetworkingNetworking1NetworkingandNetworkProgramming2TCP/IPOverview3WinSockOverview4VisualC++P2/V6/Q7ProgrammingWinsock305941aw11.15.94PartsLP#2Chapter1■NetworkingandNetworkProgramming311NetworkingNetworkingandNetworkandNetworkPro
2、grammingProgrammingP2/Vol.6/s&n6ProgrammingWinSock#30594-1rob11.14.94CH01LP#44PartI■IntroductiontoNetworkingThepurposeofthisbookistoshowyouhowtomakenetwork-awareapplicationsthatrunontheMicrosoftWindowsandWindowsNToperatingsystemsusingtheWin-dowsSockets(WinSock
3、)ApplicationProgrammingInterface(API).Tothatend,sev-eralpracticalexamplesareexaminedthatutilizethebasicfunctionalityofWinSock.Networkoperatingsystems,suchasWindowsforWorkgroupsandWindowsNT,providebasicfileandprintersharingservices.Thismostbasicleveloffunctiona
4、lityisprovided“outofthebox.”Network-awareapplicationsareprogramsthatusethecapa-bilitiesofacollectionofconnectedcomputers.Network-awareprogramsrangefromcustomapplicationsthattransferdataamongcomputersonanetworktomainstreamapplicationsthatenableelectronicmailand
5、remotedatabaseaccess.TheWinSockAPIisalibraryoffunctionsthataprogrammercanusetobuildthesenetwork-awareapplications.WinSockhasitsrootsinBerkeleysocketsasintroducedintheBerkeleySoftwareDistributionofUNIX.WinSockusestheTCP/IP(TransmissionControlPro-tocol/InternetP
6、rotocol)suite,whichprovidestheformalrulesofbehaviorthatgovernnetworkcommunicationsbetweenallcomputersrunningthisparticularcomputernet-workingprotocol.BeforeIbegintheexaminationofnetworkprogramming,lookatthebasicsofcom-puternetworkingingeneral.Anetworkcanbeloos
7、elydefinedasacollectionoftwoormorecomputersthathavesomesortofcommunicationpathbetweenthem.Anetworkcanbelooselyclassifiedaseitheralocalareanetwork(LAN)orwide-areanetwork(WAN).TheuseofthetermsLANandWANissomewhatmisleadingbecausewhichtermyouuseisrelativetothepart
8、icularnetworkinstallationyou’redescribing.Gener-allyspeaking,aLANcoversamuchmoregeographicallyrestrictedareathandoesaWAN.WhereasaLANmayconnectcomputerswithinanofficebuilding,aWANma
此文档下载收益归作者所有