Skip to content

Simple TCP client and server written in C# .NET for learning purposes.

License

Notifications You must be signed in to change notification settings

simple-works/tcp-api-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a4a51bc Β· Jul 9, 2021

History

2 Commits
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021
Jun 23, 2021
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021
Jul 9, 2021

Repository files navigation

Icon TCP API C#

Windows C# 4.0 .NET Framework 4.0

Simple TCP Client and Server written in C# .NET for learning purposes.

The project consists of simple:

  • 🎁 Wrapper for the TCP/IP Socket API (TcpClient and TcpListener Classes).
  • ✏ Console Logger accompagning the wrapper.
  • πŸ’» Client and πŸ’» Server console applications using the wrapper.
πŸ’Ύ Download Binaries

Screenshot Screenshot

▢️ Usage

Executables can run directly using defaults or by passing arguments as the following:

  • server [<local-ip-address> [<local-port>]]
  • client [<local-ip-address> [<local-port>]] to [<remote-ip-address> [<remote-port>]]

Example:

  • Run Server:
cd server\executable\directory
server 127.0.0.1 8080
  • Run Client:
cd client\executable\directory
server client 127.0.0.200 7070 to 127.0.0.1 8080

πŸš€ Development

πŸ“„ License