How much did it cost to set up a TCP connection?

I am creating an application in which my phone often sends data to my server. Since I will use my mobile data, I wonder how much data it cost to set up (and demolish?) The TCP connection to my server.

+4
source share
1 answer

TCP Three-way Handshake

Device 1 sends its TCP sequence number and maximum segment size to device 2.

Device 2 responds by sending its serial number and maximum segment size to device 1.

Device 1 confirms receipt of the serial number and segment size information.

IP- ( ). TCP. TCP , , , , TCP, .

IP, TCP . ( , TCP IP - .) TCP TCP, .

IPv4 4- 20 .

TCP 24 ( ) 20 .

(MSS): 4

(WSCALE): 3

(TS): 10

(NOP): 1

(SackOK): 2

: 10 ( 8 )

, 3 , 4!

  • FIN, ACK. FIN , , .
  • (2- ) , , FIN .
  • TCP , - . , FIN .
  • , ... FIN .

20 .

.

: ~ 128-136

: ~ 160

TLS/SSL, , , 4.5k-6.5k.

. TCP/IP

:

TCP

TCP/IP

, : TCP | Symantec Connect

+3

All Articles