reading /proc/net/tcp

From: Oleg <hidden>
Date: 2021-08-18 17:52:02

Hi, all.

Could anybody clarify what happen if some connection is disappeared between
two read() calls against a line from /proc/net/tcp for this connection?

For example, i read the line(from /proc/net/tcp):

1: 0C00A8C0:E24E E29BCA74:01BB 01 00000000:00000000 00:00000000 00000000  1000        0 57498 1 0000000031ee2ba7 56 4 30 10 -1 

with 2 read(fd, buf, 80) calls.

-- 
Олег Неманов (Oleg Nemanov)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help