23,774 questions
1
vote
3
answers
156
views
Can't open more than 8000 TCP connections with Java
I am trying to open to open 10K+ connections to a server, but my app stops at 8K connections when looking at the server logs. When using two remote servers, it will struggles when reaching between 8K ...
0
votes
0
answers
61
views
Socket TCP connection through Radmin (can't connect) in Console Application
I made a simple console messenger to test the possibility of connecting 2 or more computers for my game using RadminVpn+Sockets but its not working. I can connect to myself using my radmin ip but if I ...
2
votes
1
answer
126
views
Received request message is changed from TCP server after upgrading Spring boot to 3.4.2
After upgrading Spring Boot from 2.7 to 3.4, receiving message from TCP server to our service is getting changed with different code. For example, previously the received message is 1784 after ...
0
votes
0
answers
100
views
Unsubscribe from topic not working when using persistent session Mqtt
I have a Qt application that uses the qtmqtt module to implement a simple MQTT setup.
I’m running two instances — one as a subscriber and one as a publisher.
In the app, users can right-click on any ...
0
votes
1
answer
107
views
MQTT subscriber doesn’t receive queued messages when publisher uses QoS 0?
I’ve been reading the MQTT documentation, and as I understand it, there are two types of Quality of Service (QoS) levels involved:
Publisher QoS: determines the delivery guarantee between the ...
-1
votes
1
answer
80
views
Seastar: per-shard TCP listeners not binding or exiting silently on non-0 shards
I’m trying to start a per-shard TCP listener in Seastar, where each shard binds to its own port (6010 + shard_id). On shard 0, everything works — the listener binds and accepts connections fine. But ...
0
votes
0
answers
56
views
MQL5 SocketConnect fails with error 4014 connecting to local TCP server
I’m developing an MQL5 Expert Advisor that should connect to a local TCP server (127.0.0.1:5001).
The server is running and responds correctly to Telnet.
In MetaTrader, I added 127.0.0.1:5001 in ...
-4
votes
1
answer
52
views
Can we attach a ebpf program after tcp reordering? What mechanism should we use any ready examples folks?
Can we attach a ebpf program after tcp reordering? What mechanism should we use any ready examples folks?
We tried at tc level but see problems of packets not being ordered/assembled as expected!
...
1
vote
1
answer
81
views
Why does the NetworkStream.ReadAsync call end the loop
I have a Task that should continuously read from a Tcp stream and place the data into a ConcurrentQueue for processing. Stepping through the function I notice that the ReadAsync Call does not return.
...
0
votes
0
answers
71
views
Run Pyshark on TCP Port interface?
In order to get the data I need from Tshark I run with the flags:
tshark -i [email protected]:11111 -T ek
and we are streaming data to the TCP port 11111.
I'm trying to recreate this with pyshark:
...
1
vote
2
answers
148
views
TCP Connection Refused Given multiple concurrent connection
I try to play with multiple concurrent tcp connection in Java.
Given 250 concurrent tcp connection, some of them will get connection refused.
It surprises me due to only 250 connection.
In large web ...
0
votes
1
answer
115
views
How can I handle multiple TCP clients concurrently in Node.js without blocking others?
I'm trying to build a lightweight TCP server in Node.js that can handle multiple clients concurrently without blocking any of them — and all of this in a single-threaded manner, staying true to Node....
0
votes
1
answer
138
views
How can I create tcp client for simple chat system in .NET?
I am trying to create a chat system using tcp. I have 3 apps, 1 tcp listener and 2 tcp clients. I want to create a simple chatting system but I can't figure it out.
I have created a server that ...
0
votes
1
answer
65
views
System (PID 4) listens on my port after I close the listening socket
On Windows Server 2022 I'm running a custom HTTPS server (part of a larger app). The service binds, listens and then accepts on port 81 for a while and netstat -abn shows:
TCP 0.0.0.0:81 ...
0
votes
3
answers
115
views
Why is HTTP CONNECT safe to open an SSL tunnel through a proxy
As I understand, in order to open a SSL tunnel between client and a server through a proxy:
we open a TCP socket with the proxy.
we make an HTTP CONNECT method, which basically makes the proxy only ...