Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /