How to detect opened sockets in Windows? -
in windows xp (sp2 if necessary), there way detect, userspace application, tcp/udp socket (from any process) has opened? know of getextendedtcptable()
, getextendedudptable()
functions, detect currently opened sockets. sockets close after they're opened way i'd able detect existence being notified when open.
if no such mechanism exists in userspace, i'm willing go kernel space functionality. there documented/undocumented features this?
you need write winsock lsp or spi driver in order detect without having hook every running process directly.
Comments
Post a Comment