Blocking a connect based on a port being available

"andrew thornton" <[email protected]> Sun, 14 Oct 2007 12:11:30 -0500
Newsgroups gmane.network.irc.bopm
Message-ID <[email protected]>
Is it possible to block a connect based on if a port is available on
the client's host? Has anyone done anything like this before, or have
any links to any pages that would talk about modifying the scanner to
do something like this? I appreciate your help.