Skip to main content

Questions tagged [tcp]

Transmission Control Protocol (TCP) is a transport layer protocol that provides a connection-oriented data stream service with delivery that is guaranteed to be in-order.

tcp
-1 votes
0 answers
17 views

Why TCP connection disconnected?

I have two hosts: a client and a server. The client is syncing data to another; it suddenly has an error: java.net.SocketTimeoutException: timeout. It seems like a read timeout. Client config: return ...
dengzixin's user avatar
0 votes
0 answers
11 views

How to refuse/reject a tcp connection in eBPF?

How to refuse/reject a tcp connection in eBPF? I want to reject/refuse a tcp connection, maybe in sockops hook? I want to limit tcp connection number. If it has exceeded some thresholds, I'd like to ...
Lucas's user avatar
  • 1
1 vote
0 answers
18 views

Golang sending binary file over TCP via HTTP/REST

I'm writing a manager for cloud support of legacy IOT devices in Go, the devices establish a tcp connection with the manager, then that connection gets held open for bi-directional communication. The ...
Wayne's user avatar
  • 11
-1 votes
0 answers
12 views

Is TCP RTT a proper measure for overall network performance?

I have a server that streams video data (RTP over UDP) to a client. I intermittently introduce network delays (using tc-netem on the server side) to influence the video stream. Using wireshark, I ...
netbug's user avatar
  • 45
0 votes
0 answers
6 views

Is rapid IP switchting available for attackers on TCP servers?

I'm working on a server implementation and I'm wondering how quickly attackers can switch ip addresses. I know with UDP attackers can actually just send in whatever ip address they want, but with TCP ...
brando f's user avatar
  • 381
1 vote
0 answers
16 views

How to Capture and Handle Zero-Length TCP ACK Packets in Go?

I am working on a TCP file streaming server written in Go that communicates with an ESP32 microcontroller. The ESP32 sends TCP packets, including ACK packets with zero-length bodies but containing ...
Никита Танцура's user avatar
-2 votes
0 answers
23 views

Socket is null. Please check if the challenge has been accepted correctly [closed]

why does this show 'Socket is null. Please check if the challenge has been accepted correctly.' after clicking the tic tac toe buttons even though the player accepted the challenge? my project is ...
Mr. Newbie's user avatar
0 votes
0 answers
16 views

cannot checkpoint docker container

I am trying to checkpoint a docker container that is running code in the terminal : docker checkpoint create w22 checkpoint I am always getting an error : Error response from daemon: Cannot ...
Elyes Lounissi's user avatar
0 votes
0 answers
53 views

Is there a better way of listening socket in infinite loop in PHP?

I have the following code for listening socket for client connections <?php $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $port = "1234"; socket_bind($socket, '192.168.1.1', $...
Sim's user avatar
  • 19
-3 votes
0 answers
50 views

.NET6.0 How to reach 10 gigabits per second with TCP sockets?

Is it realistic in C# Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); to get a data transfer rate of 10 gigabits per second on 10 thousand connections on Ryzen 7 5800 with SSD ...
Ivan Kotov's user avatar
-1 votes
0 answers
31 views

Does a socket instantiated in a parent class belong to its child class?

I'm making a messaging service in java where I'm using sockets and object input/output streams. I wanted to make this as object oriented as I can (to learn OOP) so for the client side I'm making an ...
Cyberdrum's user avatar
-1 votes
0 answers
30 views

TCP Connection Hanging on SYN_SENT

Consider the following client and server components: import java.io.InputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; public class client { public ...
Elliot Killick's user avatar
2 votes
0 answers
18 views

is it possible to disable tcp timestamps on aws api gateway (or it's cloudfront distribution)

the latest pci compliance rules require disabling tcp timestamps as described in rfc1323 and rfc7323. is it possible to configure either aws api-gateway or the associated cloudfront proxy to disable ...
teldon james turner's user avatar
0 votes
0 answers
14 views

Master Server Sending Incorrect Commands to Its Replicas

I consider myself a beginner with TCP connections, but I wanted to learn more about it so I started a project called the "Build Your Own Redis Challenge" from codecrafters.io. I am trying to ...
jonathan nwokeji's user avatar
0 votes
1 answer
31 views

Send data to a tcp streams in a multithreaded server on a Rust

Please help me, I want to create a multithreaded server with TCP connections. How to make it so that the server can transmit data by some asynchronous event with current TCP streams, as well as ...
ВуDengin's user avatar

15 30 50 per page
1
2 3 4 5
1589