netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reading /proc/net/tcp
@ 2021-08-18 17:52 Oleg
  0 siblings, 0 replies; only message in thread
From: Oleg @ 2021-08-18 17:52 UTC (permalink / raw)
  To: netdev

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-18 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-18 17:52 reading /proc/net/tcp Oleg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).