Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Blue's user avatar
  • 89
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 ...
Andre Borges's user avatar
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 ...
KFL's user avatar
  • 231
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 ...
jeremywho's user avatar
  • 253