All Questions
Tagged with tcp task-parallel-library
4 questions
2
votes
1
answer
141
views
Async Tcpwriter and Reader
I currently have a class that I want to serialize/deserialize messages sent to this socket.
My plan was to use Task.WhenAny() to monitor 2 tasks (Either watch ...
1
vote
1
answer
1k
views
Simple TCP server using TPL
I have a working C# code of a TCP server that runs inside a windows service. It accepts incoming connections and starts sending/receiving data based on some complex rules.
The top-level class for ...
13
votes
0
answers
3k
views
Socket application using TPL
This is an application I wrote that allows multiple TCP clients to share a single TCP connection to a remote server (hosted project, and a demo). Traffic generated by the server is forwarded to all ...
11
votes
2
answers
16k
views
Console chat server
I'm just looking for feedback on correctness of my understanding of async/await. I'm curious about the Task.Run inside of the ...