欢迎来到天天文库
浏览记录
ID:463773
大小:3.94 MB
页数:34页
时间:2017-08-05
《基于Socket技术的Windows Mobile设备间的文件传输工具开发【毕业论文】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科毕业设计(20届)基于Socket技术的WindowsMobile设备间的文件传输工具开发摘要在网络通信中,Socket技术是发送端到达接收端的一个有效途径,在网络传输层上建立通信关系,实现数据交互的接口。由于网络通信的复杂性,在建立通信关系的前提下,必须引进线程机制处理通信细节,以确保各节点通讯的独立和并发。在WindowsMobile设备上实现基于Socket的文件传输,必须深入理解线程的处理技巧,同时将其灵活运用到通信网络编程中,完成文件传输的功能。本课题首先介绍了Socket技术的原
2、理,通过Socket技术,线程技术和网络通信方面内容,联系到WindowsMobile,在VisualStudio2008开发环境中进行应用程序开发,通过运用Socket技术,实现目标。本文研究并实现了WindowsMobile下的套接字连接和手机之间数据传输等操作。主要详细讲解了WindowsMobile下套接字的体系结构与核心功能类等必要的知识脉络;对主机域名解析服务与网络接入点相关操作技术做了进一步的了解和研究,并详细分析了WindowsMobile下的套接字连接的操作实现;最后在介绍了P
3、C端的套接字连接相关知识的基础上,结合PC端套接字操作的程序流程,用代码实现系统数据传输,验证了研究的正确性,方向性和可靠性。并为手机间文件的相互传输提供了一个很好的服务平台。关键词:套接字;线程;网络通信;文件传输AbstractInNetworkCommunication,Socketidentifiedaneffectivewayfromthesendertothereceiver,toestablishcommunicationsuponthetransportlayerandtoimp
4、lementtheinterfacefordatainteraction.Becauseofthecomplexityofnetworkcommunications,inordertoestablishcommunications,wemustintroducethreadmechanismprocessingcommunicationdetailtoensuretheindependenceofeachnode.Inordertoimplementfiletransferringbasedon
5、SocketinWindowsMobiledevices,wemusthaveadeepunderstandingabouttheskillsofthreadhandlingandmakeagooduseofitoncommunicationnetworkprogrammingtoimplementthefunctionoffiletransferring.ThispaperintroducestheprincipleofSockettechnologyfirst.ThenconnectSock
6、ettechnology,threadtechnology,networkcommunicationsskillswithWindowsMobiletoachieveourgoalwhichhavesimulationinVisualStudio2008.Bythemeansofresearching,ithasbeenimplementedtoconnectbySocketandtransferdata.Inthispaper,itismainlyexplainedindetailsabout
7、thesocketinWindowsMobileArchitectureandbasicknowledgeofthecorefunctionalclasses,etc.;ithasin-depthresearchanddevelopmentaboutthehostdomainnameresolutionservicesandtheoperationsofthenetworkaccesspointtechnology.ThenithasanalyzedindetailsonWindowsMobil
8、erealizationofthesocketconnection;finallyithasintroducedthebasicknowledgeofthePCsideofthesocketconnection,combinedwithPC-socketoperationoftheprogramflow,codeimplementationofdatatransmissionsystemtoverifythecorrectnessandreliabilityoftheresearchandpro
此文档下载收益归作者所有