Questions tagged [tcp]
The tcp tag has no summary.
89 questions
-1 votes
3 answers
273 views
How to deal with TCP-sockets being dropped instead of closed server-side?
Scenario: An application maintains a pool of connections to another service. The other service drops (not closes) all connections but still accepts new connections. What are the best way of dealing ...
0 votes
0 answers
96 views
Options for C# machine to machine communication [duplicate]
I’m evaluating different options for communication between C# applications. My requirements are: Central server where clients connect Persistent connection, server should know when clients connect/...
0 votes
1 answer
106 views
TCP sequence space and modern 1 gigabits/sec switches?
A modern world is full of gigabit/sec switches. There are 2^32 octets (bytes) of the sequence space as per TCP standard. Let's calculate. 1_000_000_000 is 125_000_000 bytes. Conceptually, each byte ...
0 votes
1 answer
354 views
TCP connection-oriented synchronous data write
thinking about the design of an IoT project where the devices don't have a standard application layer but rather a thin custom application layer utilizing TCP sockets. What I mean by this is that the ...
0 votes
1 answer
53 views
Remotely monitoring bash terminal progress
I'm thinking of creating a system which would help me transfer the output of my bash terminal to an app in a remote device(like my Android smartphone). I was thinking of tackling this problem as just ...
-2 votes
2 answers
2k views
Sending float over TCP
I need to send a series of floats over a TCP socket. Firstly, is it safe to assume that most platforms (e.g off the shelf Windows PC/Laptop) and architectures represent floats in the same way (i.e ...
0 votes
1 answer
2k views
Unit testing async tcp server
I built an async multi-client TCP server for RPC usage. It's working well but I've found it difficult to unit test certain functionality: Connect 2x clients, is client count 2 Connect 1x client,...
1 vote
1 answer
193 views
How HttpResponse is mapped back in case of dynamic IP?
I have dynamic IP provided by ISP. Say IP is x I type google.com in browser. Http request goes to google server IP changes to Y. How does http response comes back to my laptop/broswer when IP changed ...