🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8193

Hooking Winsock Functions

#8193
From: CC
Date: Mon, 15 Nov 2004 16:52
15 lines
1355 bytes
Greetings All -
I'm embarking on a small socket monitoring program. I'd like to have a
program that can detect connection attempts to any port on a system -
similar to firewall programs.

I understand that it is possible to 'hook' these functions, so that my
program can receive messages from the winsock mechanism when connects, and
other operations are attempted.

I was wondering if someone could point me in the right direction - possible
some API topics I would need to look at, examples, etc?


Many thanks for the advice and help,
CurtC
Technical Details
Message-ID: <4198c26d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,65f5aa4e8e0f93de,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "CC" <nospammer@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Hooking Winsock Functions
Date: Mon, 15 Nov 2004 08:52:59 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 12.219.156.16
Message-ID: <4198c26d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100530285 12.219.156.16 (15 Nov 2004 06:51:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail