https://github.com/simple-works/tcp-api-csharp
Simple TCP client and server written in C# .NET for learning purposes.
https://github.com/simple-works/tcp-api-csharp
ip socket socket-client socket-programming socket-server tcp tcp-client tcp-ip tcp-ip-sockets tcp-server tcp-socket tcp-socket-programming tcp-sockets
Last synced: 25 days ago
JSON representation
Simple TCP client and server written in C# .NET for learning purposes.
- Host: GitHub
- URL: https://github.com/simple-works/tcp-api-csharp
- Owner: simple-works
- License: mit
- Created: 2021-06-23T09:41:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-09T07:25:41.000Z (almost 5 years ago)
- Last Synced: 2024-07-17T02:47:31.995Z (almost 2 years ago)
- Topics: ip, socket, socket-client, socket-programming, socket-server, tcp, tcp-client, tcp-ip, tcp-ip-sockets, tcp-server, tcp-socket, tcp-socket-programming, tcp-sockets
- Language: C#
- Homepage:
- Size: 214 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#  TCP API C#
[](https://github.com/topics/windows)
[](https://github.com/topics/csharp)
[](https://github.com/topics/dotnet)
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.
:floppy_disk: Download Binaries
-
[**Server.exe**](./Server/bin/Release/Server.exe?raw=true)
-
[**Client.exe**](./Client/bin/Release/Client.exe?raw=true)
- :package: [**SharedAPI.dll**](./SharedAPI/bin/Release/SharedAPI.dll?raw=true) :information_source: _Keep it alongside executables._


## :arrow_forward: Usage
Executables can run directly using defaults or by passing arguments as the following:
- `server [ []]`
- `client [ []] to [ []]`
Example:
- Run Server:
```batch
cd server\executable\directory
server 127.0.0.1 8080
```
- Run Client:
```batch
cd client\executable\directory
server client 127.0.0.200 7070 to 127.0.0.1 8080
```
## :rocket: Development
- Language: **[C#](https://github.com/dotnet/csharplang) 4.0**
- Framework: **[.NET](https://github.com/dotnet) Framework 4.0**
- IDE: **[Visual Studio](https://github.com/microsoft) 2010**
## :page_facing_up: License
- Licensed under [MIT](./LICENSE).
- Using [Free FatCow Farm Fresh Icons 3.92](http://www.fatcow.com/free-icons) licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/us).