Questions tagged [tcp]
TCP stands for Transmission Control Protocol and is one of the core protocols of the Internet Protocol Suite. TCP complements the Internet Protocol (IP), and therefore the entire suite is commonly referred to as TCP/IP.
340
questions with no upvoted or accepted answers
2
votes
1
answer
396
views
Connecting to Server on remote through port fails due to dynamic random port
I am trying to connect to a supercomputer through ssh and port forwarding.
The application is a C++ both server and client.
Here is the port data :
// default values
server_address = "localhost";
...
2
votes
0
answers
307
views
How can I use the "location of socket in memory" field in /proc/net/tcp
I'm working on a proxy for linux(C++) that, amongst other functions, keeps track of tcp connections and associates them with the process's pid. To do that, I get the inode in /proc/net/tcp and then ...
2
votes
0
answers
1k
views
Need help figuring out a random connection timeout issue on a server
I discovered this issue trying to loadtest a custom node.js websocket server, where some sockets are failing to connect (they hit the connection timeout). It does not appear to be related to the ...
2
votes
0
answers
851
views
Changing the TCP Destination address using WinDivert or PyDivert
I'm trying to "route" TCP traffic by using WinDivert to change the Destination Address (and port) of certain outbound traffic.
I began with using PyDivert as I am a total and complete programming ...
2
votes
0
answers
427
views
Clients in LAN can't see each other
We have 2 windows 10 PCs sitting next to each other plugged into the same router (Fritz!Box). They are both on the same network mask 255.255.255.0 and both clients have the windows firewall disabled. ...
2
votes
1
answer
2k
views
I cannot connect to Steam; `-tcp` option partially helps
Since last night I have not been able to connect to Steam with my main account, I would just get a screen that says
Unable to connect to Steam
unless I add -tcp to the shortcut, then I can at ...
2
votes
0
answers
503
views
With SO_REUSEPORT kernel assigns connection to process not in accept()
I have a server that runs as multiple processes, using SO_REUSEPORT to provide parallelism. A server process can be assigned a connection, however, even when it is busy processing, which effectively ...
2
votes
1
answer
165
views
Disable OSX kernel space TCP handling
I'm writing a partial reimplementation of TCP for learning purposes, using Scapy. My TCP server.py does not get the chance to respond to SYN messages sent to it because the kernel responds to them ...
2
votes
0
answers
1k
views
netflix stall via linux iptables nat, tcp checksum errors (with workaround)
I've been trying to track down this problem for several days. I still haven't worked out what is going on, or how to fix it properly, but I do have a workaround.
Problem summary
Netflix stalls when ...
2
votes
0
answers
862
views
Determining the cause of dropping TCP connections
So there's a service listening on a port and there's a client connecting to it (TCP protocol). The client and the server try to "ping" each other from time to time. For example, this is the client ...
2
votes
1
answer
1k
views
How to check which process is flooding TCP SYN connections on Linux?
My Server is running Fedora Core 13. One day I found there were a lot of abnormal traffic that tried to initiate TCP connections with outside hosts. I tried to remove the default route and the DNS ...
2
votes
1
answer
2k
views
How get the value of TCP connection establishment timing,retry timing in ubuntu 14
how i get the value of TCP connection establishment timing ,retry timing for any TCP connection and also Quality of services parameters in Ubuntu .
2
votes
0
answers
90
views
Using DJB's tcpclient or tcpcat bidirectionally
Can someone post an example on how to use DJB's tcpclient bidirectionally?
We need to read from Tor's ControlPort as well as write to Tor's ControlPort. A "file" that is open for both, reading and ...
2
votes
0
answers
3k
views
connect to a serial device via TCP socket
My setup is this:
serial device ttyUSB0 connected to laptop A
software that opens TCP socket to listen and write to, also runs on laptop A (linux)
My goal is to pipe data from/to serial device ...
2
votes
1
answer
4k
views
How to Maintain an Inactive Tcp Connection?
If a TCP server establishes a TCP connection with a TCP client and the TCP client never sends any packet to the server.
I roughly know firewalls near the TCP server may send an RST to it. Or there is ...