Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Windows xp firewall

Windows xp firewall

Scheduled Pinned Locked Moved Visual Basic
helpcomquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haggenx
    wrote on last edited by
    #1

    Hi! I have a cuestion, i working in a application who must open a port to tcp comunication, i haven't any problem except if the windows xp firewall are activate, he jump and show a alert, is posible shutdown the firewall by code to what no lock my port?, thanks very much for your help.

    Manuel say: Greetings from Mexico, Cuando salga el sol, no estare aqui... --------------------------------------- Web: http://www.otakuzone-fanzine.com Forum: http://www.otakuzone-fanzine.com/foro

    D 1 Reply Last reply
    0
    • H haggenx

      Hi! I have a cuestion, i working in a application who must open a port to tcp comunication, i haven't any problem except if the windows xp firewall are activate, he jump and show a alert, is posible shutdown the firewall by code to what no lock my port?, thanks very much for your help.

      Manuel say: Greetings from Mexico, Cuando salga el sol, no estare aqui... --------------------------------------- Web: http://www.otakuzone-fanzine.com Forum: http://www.otakuzone-fanzine.com/foro

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Can you shut it down? No. It wouldn't be much of a firewall if any piece of software could just shutdown the firewall whenever it wanted, now would it? You can add your application and the ports it listens to the firewall using the Firewall API. The documentation is found here[^]. There is no support built into the .NET Framework, so you'll have to P/Invoke the API calls. The Windows XP Firewall doesn't block outgoing connections, only incomming.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      H 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Can you shut it down? No. It wouldn't be much of a firewall if any piece of software could just shutdown the firewall whenever it wanted, now would it? You can add your application and the ports it listens to the firewall using the Firewall API. The documentation is found here[^]. There is no support built into the .NET Framework, so you'll have to P/Invoke the API calls. The Windows XP Firewall doesn't block outgoing connections, only incomming.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        H Offline
        H Offline
        haggenx
        wrote on last edited by
        #3

        I want development a application who must open a port, this port is listening connections to show messages from administrator (remote pc), i as administrator send a message (similar to net send command) to each user such as a chat system to notify any thing. But, i must open a port in user pc and send message from my computer (administrator), ok, i guest the home page send to me, thanks.

        Manuel say: Greetings from Mexico, Cuando salga el sol, no estare aqui... --------------------------------------- Web: http://www.otakuzone-fanzine.com Forum: http://www.otakuzone-fanzine.com/foro

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups