hey gang-

im looking to write a little script/tool (php perhaps?) that would test if
a certain person is behind a firewall and is blocking a specific test.

Problem: Potential client downloads an app, tries to log in for sales
demo, gets warning about not being able to connect to port 5xxx and that
it might just be a firewall.

Goal: Have sales person visit a webpage that would test if they can
connect (at some level) to these ports (5xxx), to avoid the
downloading/installing client and then finding out that they cant connect.

Any ideas on how this would be done?

thanks
duncan