›› 2013, Vol. 26 ›› Issue (11): 151-.

• Articles • Previous Articles     Next Articles

Programming Techniques of Network Communication Based on Visual C#

 LIU Bei-Li, LIU Da-Hong   

  1. (School of Electronic Engineering,Xidian University,Xi'an 710071,China)
  • Online:2013-11-15 Published:2013-11-19

Abstract:

This paper introduces the use of Visual C# language to communicate in TCP/IP network.The TcpClient 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.

Key words: Visual C# language;network communication;TCP/IP;TcpClient;TcpListener

CLC Number: 

  • TP311.11