Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
159 views

I have a sequence of send() calls to write bytes to a TCP socket. Is it possible to force the socket to only send TCP packets when they are either full (exceeding the MTU) or I explicitly indicate ...
kevmo314's user avatar
  • 4,337
0 votes
1 answer
156 views

Assume we have two clients talking to each other over TCP. Both are doing roughly the same thing: recv(...) // Blocking receive call do_work() send(...) // Blocking send other client. The way the ...
Chuu's user avatar
  • 4,601
1 vote
0 answers
538 views

Context Hi. I’m quite new to Rust, and as I hope to gradually convert to being a fellow rustacean, I was ambitious (read: foolish) enough to retry a project (originally written in Go) I had last ...
ipeglin's user avatar
  • 15
0 votes
1 answer
324 views

I have a test application which is java Springboot web app. It has a GET API which has latency of 1 second. I invoke this REST api the rate of 50 calls/minute and it works okay, no errors on ingress ...
vick_4444's user avatar
  • 407
1 vote
0 answers
81 views

I am writing both a client and server in GO, and want to have the option to change between UDP and TCP for the same single piece of data that needs communicating. (Im using TCP for less reliable ...
bdrun33's user avatar
  • 63
0 votes
0 answers
92 views

I am trying to build a redis clone. I've set up simple TCP server that listens for client's request, and processes them. //snippet begin if (server_fd == -1) { printf("...
Udeshya D.'s user avatar
0 votes
1 answer
359 views

I'm very new to networking/network driver design principles and would love some help and direction troubleshooting an odd behavior I'm seeing from a tcpdump captured within a device. The logs are ...
justin's user avatar
  • 53
4 votes
2 answers
205 views

I try to understand and document how tcp works in some corner-cases. Here I’m talking about an IP packet, containing a TCP segment that have a zero-length data part. Zero-length udp datagram seems ...
wufp's user avatar
  • 111
1 vote
1 answer
133 views

Code and Error should explain my problem (and if not, I can explain more) Code: import org.pcap4j.core.*; import org.pcap4j.packet.*; import org.pcap4j.packet.namednumber.TcpPort; import org.pcap4j....
Metalowy Robot's user avatar
0 votes
1 answer
88 views

Everywhere I’ve looked for information about reliability and delivery guarantees in WebSockets, it says that it operates over TCP, which means lost packets will be automatically resent. However, when ...
jack's user avatar
  • 3
1 vote
1 answer
35 views

I've developed a Flutter application that connects to a TCP server and sends data using the basic dart:io package: _socket = await Socket.connect(MyConst.remoteHost, MyConst.remotePort); It works ...
Srisudhan's user avatar
2 votes
3 answers
245 views

I'm running a Windows server on AWS that is serving some data to IOT devices, but after a while the server stops responding to requests because it hangs on the s.accept() call, I've managed to ...
drulludanni's user avatar
0 votes
0 answers
84 views

I'm building a full-stack application where the server is to be capable of maintaining connections with multiple clients at the same time. Communication will be done via TCP-IP. Since most of the data ...
Cacangale's user avatar
0 votes
1 answer
44 views

I'm implementing a socket server for python. Ideally I would use a socketserver.TCPServer in combination with thereadline-functionality of socketserver.StreamRequestHandler, see for instance the ...
obachtos's user avatar
  • 1,061
0 votes
1 answer
90 views

When sending data as a TCP client under Linux, it occasionally happens that the write operation is successful, but the data seems to remain in the send buffer and is only sent out after a receive ...
Consen's user avatar
  • 1
1 vote
1 answer
72 views

i am developing a program that needs to read all the data from a boost::asio::ssl::stream<boost::beast::tcp_stream>, etc a http webpage. I have tried reading until EOF which works however it ...
user27334392's user avatar
0 votes
1 answer
191 views

I'm trying to connect my client application written in Delphi to a service running on a server using TCP/IP. The service is also written in Delphi and uses TIdTCPServer to listen for connections. When ...
Amelia's user avatar
  • 1
0 votes
0 answers
96 views

I have a program that involves sending python dicts that are converted into json using json.dumps back and forth to a server. I have one json response coming back from the server, which I then use ...
Alexa Halpert's user avatar
2 votes
1 answer
2k views

I am trying to setup TCP communication between a client and a server in different networks. Since I do not own a public server and don't want to setup port forwarding, an option was to use TCP ...
jawidNIdw's user avatar
1 vote
0 answers
351 views

In my project I use NATS JetStream, I use publish to stream rps request, this means that the client will wait for a response from the server, but often there is a timeout error, what the problem is, ...
Sheldy's user avatar
  • 11
1 vote
2 answers
263 views

I would like to create a simple example TCP server in C. It should be able to receive multiple client connections and to send a string to each of them separately, before closing the connection. Many ...
BowPark's user avatar
  • 1,544
0 votes
1 answer
105 views

I'm working with Spring Integration and trying to handle TcpConnectionOpenEvent and TcpConnectionCloseEvent to collect metrics on the connections and to write to the log. However, I'm not able to ...
P.W.'s user avatar
  • 3
1 vote
2 answers
962 views

I'm using socket for wireless screencast of client screenbuffers on server. I'm using MediaProjection for screencast. Using below code snippet I'm receiving client screen's screenbuffer on server but ...
richa patel's user avatar
0 votes
1 answer
343 views

My requirement is to connect to an external SQL Server database from my organization network. My .NET Core application is hosted in Openshift Container and it has to go through an internal Bluecoat ...
janitheshan's user avatar
0 votes
0 answers
199 views

I have been trying to implement a TCP/IP stack in C++ for learning. The issue is when I try to interpret the Ethernet frame and extract information from the header. I use memcpy(), std::memcpy(&...
maboeln1's user avatar
0 votes
1 answer
109 views

I have function for reading TCP packet of unknown size. The function uses MSG_PEEK to find the required size for the received JSON message (the \"} in the loop condition) and then runs the loop ...
ENGO_150's user avatar
-3 votes
1 answer
92 views

i need help to create a multithreaded java socket server that can handle and process the request asynchronously. What i did right now is i created java NIO Socket Server and Client, the client will ...
mc ser's user avatar
  • 67
0 votes
1 answer
154 views

I want to debug the network layer in Open Libery (OL), with the focus on keep alive behavior. For that, I want to enabled tracing in OL's server.xml. Something like the following: <logging ...
Bernd's user avatar
  • 426
0 votes
1 answer
51 views

So I downloaded this 1gb file from here and it took about 20-30 seconds (I was using wget not sure if it matters). Then I tried transferring the file using a Python script that implements Namuyan's ...
LuckyCoder3607's user avatar
0 votes
1 answer
385 views

I have a very simple tcp server socket listening for new connections. use std::net::TcpListener; fn main() { let listener = TcpListener::bind("127.0.0.1:7878").expect("Failed to ...
user avatar
1 vote
1 answer
111 views

void connections::start_acceptor(){ auto socket=std::make_shared<boost::asio::ip::tcp::socket>(ioc); con_acceptor.async_accept(*socket,[this,socket](const boost::system::error_code ec){...
aj_codes's user avatar
0 votes
1 answer
131 views

I am working on a network application where I send and receive TCP packets. However, I’m encountering an issue where the data received does not match the data sent. I’m using raw sockets and ...
נהוראי יפרח's user avatar
-1 votes
1 answer
41 views

I'm working on a project where I'm planning to implement custom read receipts at the IPv4/TCP layer by modifying the BSD networking stack. My goal is to detect if someone is harvesting data from my ...
Mallikarjunarao Kosuri's user avatar
1 vote
1 answer
132 views

I have a TCP connection and I would like to improve network throughput by receiving Jumbo frames. My network allows jumbo frames through hosts/routers etc. What do I need to set via setsockopt() to ...
intrigued_66's user avatar
  • 17.6k
2 votes
0 answers
893 views

PS C:\\Windows\\system32\\submarine\> minikube addons enable yakd ! yakd is a 3rd party addon and is not maintained or verified by minikube maintainers, enable at your own risk. * yakd is ...
Angus John Murray's user avatar
2 votes
0 answers
84 views

I am working with Raspberry Pi 4 with bookworm 64bit OS for connecting devices with TCP/IP. I need some delay for socket timeout if no response from my server. The Raspberry Pi acts as a client. I am ...
Sathish's user avatar
  • 445
1 vote
0 answers
29 views

Until now I've had no dealing with NetworkStream and am having to use it for some TCP comms with a tcp enabled device, but I'm seeing some strange behaviour and it's got me asking the question above......
VariableSquid's user avatar
1 vote
1 answer
126 views

We have recently migrated the cluster from Classic Load Balancer (CLB) to Application Load Balancer (ALB) and tried to deploy the XQuery modules using Roxy along XDBC/XCC with an SSL enabled port. We ...
user26849883's user avatar
0 votes
0 answers
65 views

Im currently trying to setup fake printer on server to obtain files and store them on disc to use them in another app. I need to intercept print request from other computer when it choose this fake ...
Obalony Pivvot's user avatar
0 votes
1 answer
112 views

I have the following problem: there is a version of LWIP v.1.11.2 that is suitable for my project, after I installed it from github and selected the desired version in CubeMX and generated the code, I ...
21h's user avatar
  • 1
-1 votes
2 answers
133 views

I am trying to learn socket programming in C and i was trying to setup a basic TCP connection between client and server however in my server.c my code is seemingly just stuck at listen(). It does not ...
Fitz chivalry farseer's user avatar
1 vote
0 answers
35 views

I can't connect to my remote postgresql server. I'm on a local network containing my server (192.168.1.2) and my development workstation (192.168.1.3). I can't connect to my database on port 5432. My ...
Samy A. Foudil's user avatar
2 votes
1 answer
75 views

I have a TcpStream (from the standard library) and would like to write to it from multiple threads. TcpStream allows this without additional synchronization due to impl Write for &TcpStream. The ...
kmdreko's user avatar
  • 65.4k
1 vote
1 answer
795 views

Let’s say, there is some TCP (unencrypted) traffic you would like to eavesdrop packets and send them somewhere else. You don’t want to interrupt the traffic or interfere to its parts, just eavesdrop ...
Captain Sabertooth's user avatar
1 vote
0 answers
34 views

I'm working on an online game. For communication between clients and the server, I'm using TCP. Now, when clients send their usernames to the server, the server should message them back '1', but the ...
Howell's user avatar
  • 11
0 votes
1 answer
222 views

I'm trying to send a TCP message to a netcat server running on the machine where an Android device is connected. In order to do so, I'm executing the following steps on the host: adb reverse tcp:3000 ...
Mauro's user avatar
  • 69
-1 votes
1 answer
182 views

I wrote a TCP Server using project reactor netty that receives a byte array request message from a client, processes it, then returns a byte array response message to the client. The connections ...
bscott's user avatar
  • 319
1 vote
1 answer
814 views

This question is motivated by the discussion in this GitHub issue. I asked Edge Copilot the same but I don't fully trust LLMs. Here is an excerpt from that chat Aeron: Provides a high-performance, ...
Chechy Levas's user avatar
  • 2,406
0 votes
1 answer
281 views

I'm looking to receive TCP messages using Azure Functions or Logic Apps. I understand that both services are typically triggered by HTTP requests, but I'm wondering if there's a way to run a TCP ...
optaex's user avatar
  • 3
2 votes
1 answer
203 views

I was planning to use zmq to communicate between a personal laptop and a remote machine. I plan to use the laptop as the server and the remote machine as a client. Currently, I use a vpn to get into ...
Tharsh's user avatar
  • 21