Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Advice
0 votes
3 replies
71 views

I am making a program that prints packet data in a tkinter ui list from a PCAP file for a collage assignment. What would be the best way of identifying network streams similar to whats used in ...
Best practices
0 votes
6 replies
144 views

I heard TCP is like 50 years old, So why don't we create a new and modern TCP-like protocol for transmission? Why are we still using a very old protocol?
Score of -2
1 answer
85 views

I am using the Hyper V Virtual Machine where I run the company's VPN, and using the SQL developer with the port 20010 I can successfully connect to an Oracle database However, when using exactly the ...
Score of 1
0 answers
125 views

I am working on a linux kernel tcp congestion control module and was using the module_param macro to get some runtime configurable parameters. When submitting to the netdev mailing list, the automated ...
Best practices
0 votes
0 replies
60 views

I am relatively new to programming in Swift, coming from C++. I want to write an iOS app in SwiftUI that continuously reads data which is sent by a server via TCP/IP and eventually sends TCP/IP ...
Score of -3
1 answer
84 views

I would like to ask or assure. If I want to read raw bytes from the tcp connection using ktor in KMP it is not possible or there is no native library function which can help me to read all bytes ...
Advice
0 votes
3 replies
78 views

Can someone explain to me the way Time_Wait in TCP is working? I'm doing some testing with FTP on IIS Windows in passive mode and allowed only one single Port as Data Channel. I did several commands ...
Score of -2
1 answer
132 views

Edit: theoretically maximum size of a packet is 64KB. However, broken or not, such packets do happen in practice on some more exotic network hardware. For purpose of testing a network device I need to ...
Advice
1 vote
0 replies
36 views

Looking for direction on best practices for my application. I currently have a MicroChip evaluation board PIC32CZ CA80. The board/chip has multiple SERCOM/UART IO lines. And it also has an Ethernet ...
Score of 2
2 answers
116 views

What I want to ask is this: When running the server code in Visual Studio and the client code in Unity on Windows, the server successfully receives responses from the client. However, when running the ...
Score of 0
1 answer
155 views

Can multiple threads safely write to a shared TCP socket opened in non-blocking mode (if that changes anything compared to blocking sockets)? Will the Kernel serialize the data from each of these send(...
Score of 2
1 answer
121 views

I am implementing a destination NAT-like behavior by hooking into NF_INET_PRE_ROUTING and NF_INET_LOCAL_OUT to modify the destination IP address and recalculate the checksums. nf_tracer_handler(void *...
Score of 0
1 answer
54 views

i got a task that asks to make a tcp-scanner using method TCP SYN, from scapy.all import * from scapy.layers.inet import IP, UDP, ICMP, TCP def tcp_scan(destination_ip : str, ports : list[int]): ...
Score of 0
0 answers
130 views

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 ...
Score of 2
1 answer
156 views

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 ...
Score of 0
0 answers
149 views

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 ...
Score of 0
1 answer
157 views

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 ...
Score of -1
1 answer
123 views

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 ...
Score of 0
0 answers
206 views

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 ...
Score of -4
1 answer
68 views

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! ...
Score of 2
1 answer
109 views

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. ...
Score of 0
0 answers
105 views

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: ...
Score of 0
2 answers
192 views

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 ...
Score of 0
1 answer
193 views

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....
Score of 0
1 answer
281 views

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 ...
Score of 0
1 answer
144 views

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 ...
Score of 0
3 answers
291 views

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 ...
Score of 1
2 answers
124 views

When the TCP client disconnects, the TCP listener is giving an error; 2 clients just send random messages every second. When I close one client, the listener is giving an error and because of that the ...
Score of 1
0 answers
138 views

i have the following code which works correctly in TLS 1.2 but fails in TLS 1.3 (in windows platform, linux this doesn't happen, in fact if you place the server end on windows, and client on linux it ...
Score of 1
0 answers
258 views

Nginx config: stream { map $ssl_preread_server_name $backend_upstream { api.xxx.com backend_1; } upstream backend_1 { server 127.0.0.1:4433; } server { ...
Score of 2
1 answer
186 views

I was writing a simple C server and experimenting with setsockopt, so I wrote the following: int lsock = socket(AF_INET, SOCK_STREAM, 0); int mss = 576; if (setsockopt(lsock, IPPROTO_TCP, TCP_MAXSEG, ...
Score of -1
1 answer
127 views

I'm building a high velocity distributed database in Rust, using io_uring, eBPF and the NVMe API, which means I cannot use 99% of the existing libraries/frameworks out there, but instead I need to ...
Score of 1
1 answer
107 views

I'm designing a REST-Webservice and pondering the following scenario: Client calls the endpoint (e.g. HTTP POST /something) Server (synchronously) handles the request, responds to client (e.g. with ...
Score of 0
0 answers
87 views

unfortunately, after connecting RabbitMQ, I can't open my app on any port. After running, my app is up, but while RabbitMQ is running in Docker, I can't open Swagger on localhost with any port that I ...
Score of 0
2 answers
143 views

In my application, a client and a server communicate over a TCP socket using a request-reply protocol. Sometimes, because of network issues or application issues, the socket read on the server side is ...
Score of 3
2 answers
106 views

Javafx MediaPlayer class plays files loaded into a Media object. The Media object can load local Media files or via HTTP. My Client-Server uses TCP/UDP, not HTTP. I assume that media files need to be ...
Score of 1
1 answer
249 views

How can I get the number of currently open / active TCP/IP connections on the ESP32 IDF platform?
Score of 1
1 answer
88 views

Our system is running on FreeRTOS. The server sends our device operation requests (via MQTT, TCP sync, TCP aysnc) and some operations have different number of steps/states. Scenario 1: Server ...
Score of -3
2 answers
326 views

I am trying to send a raw tcp packet over Ipv6 using Scapy. But I always get the warning: No route found for IPv6 destination (ipv6 address) (no default route?) I am deploying in Kali Linux. My ...
Score of 0
1 answer
125 views

I have successfully created a client/server TCP encrypted proxy server in C, all from scratch. As part of generating a unique IV for each connection, I am using the current time and the client's ...
Score of 0
1 answer
60 views

I'm working with embedded devices (STM32), the device would have a TCP server (HTTP server). The internal memory and flash is limited, so a more complex page wouldn't fit to the device. I would need ...
Score of 0
0 answers
100 views

The SYN packets are sent together before receiving any SYN-ACK from the server. Both SYN has the same source dest IP address & port. They only differ in seq no, so what will happen in this case?
Score of 0
1 answer
131 views

I have this code where I'm manually crafting TCP SYN packets in C by setting all IP and TCP header fields myself, including the TCP flags and checksum. When I send these SYN packets to an open port on ...
Score of 1
1 answer
99 views

I'm attempting to implement dynamic discovery of networked "nodes" using ZMQ's XPub-XSub pattern. Every example I can find online is limited to a single machine - using localhost for the IP ...
Score of 1
0 answers
92 views

I have: PC-server (Windows 10) with Java program OWEN PR200 (ПР200, programmable relay) GSM modem iRZ MC55iT PC-client with installed Owen OPC Server and Scada I need to make a two-side ...
Score of 0
3 answers
150 views

I'm facing an issue with MP4 file transfers over TCP. I’m trying to send MP4 files from a Raspberry Pi with a camera to another Raspberry Pi with an SSD connected for storage. According to online ...
Score of 0
1 answer
101 views

I'm experiencing an issue with how my Spring Boot application (using Spring Integration) handles TCP connections in a Kubernetes environment. My setup includes an NLB (Network Load Balancer) in front ...
Score of 1
0 answers
48 views

Future<String?> sendAndReceiveCommand(String value) async { try { final ipParts = '192.168.4.1'.split('.').map((part) => int.parse(part)).toList(); final ipAddress = ...
Score of 1
1 answer
107 views

I am making a device that requires web interface and this is how I setup WiFi (inspired by my smart plug): open AP for devices to connect make itself's 6.6.6.6 so clients can send request to that IP ...
Score of 0
2 answers
76 views

I have a normal TCP client connection which I use to retrieve data from a climate sensor (SCD30). In theory, it does what it is supposed to do, but I always get different numbers of bytes. with socket....

1
2 3 4 5
475