首页 | 官方网站   微博 | 高级检索  
     

基于Visual C#的网络通信编程技术
引用本文:刘蓓莉,刘大红.基于Visual C#的网络通信编程技术[J].电子科技,2013,26(11):151-153.
作者姓名:刘蓓莉  刘大红
作者单位:(西安电子科技大学 电子工程学院,陕西 西安 710071)
摘    要:介绍了使用Visual C#语言在TCP/IP网络中实现通信的方法,通过利用.NET框架提供的TcpClient类和TcpListener类分别建立服务器端和客户端,然后使用这两类提供的方法可完成网络通信中数据的收发。通过实验证明,生成的界面友好,编写的程序也可较好地完成通信功能。

关 键 词:Visual  C#  网络通信  TCP/IP  TcpClient  TcpListener  

Programming Techniques of Network Communication Based on Visual C#
LIU Beili,LIU Dahong.Programming Techniques of Network Communication Based on Visual C#[J].Electronic Science and Technology,2013,26(11):151-153.
Authors:LIU Beili  LIU Dahong
Affiliation:(School of Electronic Engineering,Xidian University,Xi'an 710071,China)
Abstract:This paper introduces the use of Visual C# language to communicate in TCP/IP network. The Tcp- Client class and the TcpListener class provided by . NET framework are employed to build the server and clients. Then methods of these two classes can realize sending and receiving messages. It is shown that the software interface is friendly and the program can accomplish communication well.
Keywords:Visual C# language  network communication  TCP/IP  TcpClient  TcpListener
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号