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
- Server.exe
- Client.exe
- 📦 SharedAPI.dll ℹ️ Keep it alongside executables.
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
- Language: C# 4.0
- Framework: .NET Framework 4.0
- IDE: Visual Studio 2010
- Licensed under MIT.
- Using Free FatCow Farm Fresh Icons 3.92 licensed under CC BY 3.0.