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.

TCP is just one communications protocol on the web. Others include:

  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Hypertext Transfer Protocol (HTTP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

TCP on Wikipedia

1636 questions
0
votes
1 answer

WSAECONNRESET curiousity

How exactly does the TCP stack on windows determine that the connection has been forcibly closed or reset by peer? I know that TCP on Windows by default tries to retransmit an unacknowledged packet 5 times. What happens if there is still no…
dmg
  • 101
0
votes
2 answers

TCP tunable parameters in Solaris non-global zone

I'm modifying some TCP parameters in an exclusive-IP non-global zone on Solaris. I've set the parameters via ndd, like tcp_recv_hiwat, tcp_xmit_hiwat, etc. I want these changes to persist during reboots, but the /etc/system file is not in a…
user11711
0
votes
1 answer

WebServer Performance Issue

Recently we moved to a new hosting infrastructure and our web site, every 30 min or so, comes to a halt and then recovers ... What we noticed by looking at the performance monitor is that while we have no problem with the CPU/Memory/Disk the number…
Eden
  • 139
  • 3
0
votes
2 answers

Routing traffic so that it appears to originate from a single (static) IP address

We have three sets of computers: clients, a single proxy and multiple servers. The clients (many) want to connect to the servers (many) using TCP on a specific and consistent port. Currently they do this directly. The connections always originate…
renen
  • 1
0
votes
1 answer

Is a retransmitted SYN *EXACTLY* the same as the original?

If I have a client trying to connect to a TCP server, and the client sends a couple of retransmits trying to establish a connection, is there ANY difference in the SYNs it will send? If the server SYN-ACKs on the 3rd packet, does the client have any…
Chris Phillips
  • 254
  • 4
  • 15
0
votes
2 answers

Clustering TCP servers, so can send data to all clients

I'm developing a real-time mobile app by setting up a TCP connection between the app and server backend. Each user can send messages to all other users. (I'm making the TCP server in Python with Twisted, am creating my own 'protocol' for…
Jon Cox
  • 165
  • 1
  • 1
  • 6
0
votes
2 answers

Needs help to understand the wireshark results of a data transferring

In my LAN, I have a router that runs a Samba server and my PC connects to the router. I wiresharked during uploading a file from my PC to the samba server. Below is a shortcut of the wireshark result, As can be seen, after server's reply in frame…
sliter
  • 225
  • 1
  • 3
  • 6
0
votes
1 answer

Is there any way to set PPTP on UDP Protocol?

In our network,many web site has been filtered ,so we should use VPN or Socks ,They reduce any tcp connection speed by dropping random packet (Than post and get on http),So ssh,pptp and ... are so slow. Now I wanna to connect to my pptp server by…
Moein Hosseini
  • 241
  • 3
  • 6
  • 13
0
votes
2 answers

Listing TCP/UDP process from an organically grown application

I've been asked to compile a list of TCP/UDP and ports they use for the collection of application that comprise our product for a client who wants the information for their firewall. So I fired up TCPView some of the processes are so short lived…
graham.reeds
  • 181
  • 4
0
votes
1 answer

What is responsible for Connect/Send/Wait in a HTTP request?

Services like pingdom and Google speed analyze the time consumed for reading a HTTP file. This includes DNS: Obviously, DNS management to interpret the namespaces is responsible. Connect: ??? Send: ??? Wait: ??? Receive: Disk speed in reading the…
Googlebot
  • 1,047
  • 2
  • 15
  • 30
0
votes
1 answer

Tcp retransmission tcp session reconstruction

Im trying to write a program that reconstructs tcp sessions. I have a pcap file which have packets. The problem is i dont know which packets i should use to construct sessions when there is a retransmission.…
varstas
  • 103
  • 1
0
votes
1 answer

arp requests are sent continuously and my linux machine disconnected to the world

I have the following problem and really need your help I'm implementing a small server to receive request from client on port 18999(just sample) using TCP socket. When I tested my server by using a lot of requests from a tablet through a router, I…
sees
  • 9
  • 3
0
votes
1 answer

How does Cisco IOS ACL established flag work

You can permit outgoing packets, but then you need to permit the responses. One way is to permit any packet that is a followup to an established connection. access-list ??? permit tcp any any established But how does this work? Is checking…
700 Software
  • 2,233
  • 10
  • 49
  • 77
0
votes
2 answers

How to optimize TCP / IP stack in Linux?

Currently I noticed there are about 15K open connections to localhost. It is mainly connecting to Memcached. I am clueless where I should start to optimize TCP/IP stack. Memcached support UDP, but the PHP library doesn't support it. The server has…
mary
  • 9
  • 3
0
votes
2 answers

40 tcp clients simultaneously - extreme lag

I own a dedicated server at nuxit, which "guarantees" a 20mb connection. I run a game server there which i have programmed myself in java. The game does not consume a lot of memory/cpu/bandwith (simple games like chess), but i need to maintain tcp…
Joel
  • 195
  • 2
  • 10