C# Server client communication
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-05-09 16:28:00 +02:00
TCP Fixing comments in TCP server and client projects 2021-05-09 16:21:26 +02:00
UDP New comments and naming error fixed 2021-05-09 16:01:41 +02:00
.gitattributes Add .gitignore and .gitattributes. 2021-05-01 22:42:16 +02:00
.gitignore Add .gitignore and .gitattributes. 2021-05-01 22:42:16 +02:00
README.md Update README.md 2021-05-09 16:11:11 +02:00
ServerClient.sln UDP Server/Client 2021-05-06 11:20:54 +02:00

ServerClient C# example

In this repository, you will find an example of client-server communication over TCP and UDP protocol. This project is a great start for understanding, how TCP/UDP communication works and also, for creating your own server/client programs.

Remarks

  • If non-ASCII characters do not work, the problem is with the method Console.ReadLine() and not with client-server communication. Change command line encoding.
  • This is just a simple to understand implementation, and it may not be the most efficient.
  • Sorry for the typos in the comments 😋