public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Find out a process that holding the socket?
@ 2022-08-22 16:22 Andrey Repin
  2022-08-23 16:08 ` Stephen P. Carrier
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Repin @ 2022-08-22 16:22 UTC (permalink / raw)
  To: All

Greetings, All!

I'm trying to write a small helper utility, and I need to find out, which
process is holding a particular socket open.
Since there's no "lsof" utility in Cygwin, which is commonly suggested for
this task on Linux, I'm failing to find an alternative.
Is there a simple solution available or I have to dig down into WinAPI?
The process is going to run elevated, if that matters.


-- 
With best regards,
Andrey Repin
Monday, August 22, 2022 19:15:48

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-23 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 16:22 Find out a process that holding the socket? Andrey Repin
2022-08-23 16:08 ` Stephen P. Carrier

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 read-only IMAP folder(s) and NNTP newsgroup(s).