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

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