Page 1 of 1

TCP/IP Connection increases per server interaction

Posted: Thu Jan 19, 2017 6:24 pm
by MegumiSawada
Hi,

I have received the following question regarding LongRange behavior.

With NETSTAT command --> Option 3) will show "Work with TCP/IP connection status" screen.

When using LongRange client application, it seems connection will be add on this screen everytime LongRange client app connect to server.
I believe it is expected behavior, but the customer would like to check if it is no problem even though there may be huge amount of connection can occur at once.

I appreciate your kind advice.

Best Regards,
Megumi Sawada

Re: TCP/IP Connection increases per server interaction

Posted: Fri Jan 20, 2017 2:47 pm
by jasonzhou
Hi Megumi,

I think the behavior is correct.

After each request, the state will immediately become to Time-wait. (see Picture 1)

In TCP standard, Time-wait means that the connection is terminated, but before changes state to Closed, host needs to wait a short time to be sure the client received ACK flag. (see Picture 2)

This is what I read from https://en.wikipedia.org/wiki/Transmiss ... l_Protocol:
TIME-WAIT
(either server or client) represents waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request. [According to RFC 793 a connection can stay in TIME-WAIT for a maximum of four minutes known as two MSL (maximum segment lifetime).]

Thanks.

.

Re: TCP/IP Connection increases per server interaction

Posted: Fri Jan 20, 2017 3:35 pm
by MegumiSawada
Hi Jason,

Thank you for your explanation.
I'll explain this to the customer!

Best Regards,
Megumi Sawada