programmatically configuring XP firewall?

  • Thread starter Thread starter Alex Alten
  • Start date Start date
A

Alex Alten

How can I open ports to allow packets from networking
program to pass through the firewall successfully?

I'm looking for two mechanisms.
1. A command line i/f like NETSH.
2. A SDK library API.

Thanks,

Alex Alten

925-425-9601
Sr. Software Engineer
Escalon Networks, Inc.
http://www.EscalonNetworks.com
 
In the SDK you'll find references to the INetSharing API. Unfortunately I
think the Add documentation has an incorrect prototype so I'd check the
actual idl file for the right parameters.
There is no netsh interface at the moment.

Note that sessions initiated by an ICF firewalled computer will dynamically
open inbound ports for responses. Depending on the nature of your
application, you might not need to configure the firewall at all.
 
Back
Top