tcp - Understanding of netstat -na command in linux -


i facing bad issue , pathetic in networking concepts. when try connect system using tcp protocol getting failure if connect same system after time success.

scenario : disconnect target environment , there no connections established target confirmed using below command netstat -na|grep 10.11.12.13 initiate fresh request netstat -na|grep 10.11.12.13 failure given in below

tcp 0 182 ::ffff:127.0.0.1:1234 ::ffff:10.11.12.13:8444 established

i try initiate again after time same request netstat -na|grep 10.11.12.13 see connections in established mode.

i observed difference in second third column of netstat results says value 182 did not see when request successful. know 182 stands for.

consider this:

[root@stg openssl]# netstat -na| more active internet connections (servers , established) proto recv-q send-q local address               foreign address             state 

you can see description of columns @ beginning of netstat output.

1st : protocol name. in case tcp

2nd : recv-q . number of bytes of data application @ local address yet pull tcp buffer. in case zero

3rd: send-q. number of bytes of data application has given tcp , aren't ack'ed peer tcp. in case 182


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -