Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 tcp networking library that easy to use, c#

views
     
TSnarf03
post Jan 2 2024, 05:24 PM, updated 2y ago

Look at all my stars!!
*******
Senior Member
4,547 posts

Joined: Dec 2004
From: Metro Prima, Kuala Lumpur, Malaysia, Earth, Sol


need to make my work easier, need networking library that capable of sending and receiving tcp packets at the same time(synchronously), handing all the error, like detect disconnections, connected client crash hang, etc.

anything good i should look into ?

language is c#
TSnarf03
post Jan 2 2024, 06:48 PM

Look at all my stars!!
*******
Senior Member
4,547 posts

Joined: Dec 2004
From: Metro Prima, Kuala Lumpur, Malaysia, Earth, Sol


QUOTE(flashang @ Jan 2 2024, 06:44 PM)
not sure if default tcp / socket enough for your usage.
You may need to do try catch / error handling by yourself.

Use TcpClient and TcpListener - .NET | Microsoft Learn
https://learn.microsoft.com/en-us/dotnet/fu...ets/tcp-classes

smile.gif
*
did use the socket class b4, spend 1-2 extra months on just handling all the error, parsing, disconnection, network packet missing, etc. need to start another project, i want to avoid all those troubles, was wondering if there are any libraries that can make things easier, try to reduce the amount of time into base communications.

 

Change to:
| Lo-Fi Version
0.0131sec    1.66    6 queries    GZIP Disabled
Time is now: 23rd December 2025 - 10:41 AM