Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Internet through company firewall to my workstation

  • 07-12-2005 08:30PM
    #1
    Registered Users, Registered Users 2 Posts: 169 ✭✭


    Hi,

    I'm writing a small application that uses Winsock.

    To keep things simple, lets just say its a chat program like ms messenger.

    Can someone tell me how msn messenger is able to get through the company firewall - and route the reply message back to my workstation...my local lan ip address...1 local lan ip address out of hundreds.

    for example, if i send a message to my mate... who's out on the web some where, he can reply and i get the message.
    how does messenger manage to route the message back through to the firewall to my lan ip address ?

    if i wanted to run a webserver on my workstation, i have to get the IS dude to use port forwarding... so, from the firewall it forwards stuff to my webserver, but with msn messenger, this isnt necessary????

    Cheers


Comments

  • Registered Users, Registered Users 2 Posts: 804 ✭✭✭TimTim


    Afaik its because a webserver needs a open incoming port while MSN doesn't.

    It opens a outgoing port and due to the magic of NAT/your firewall/whatever you use when it gets a reply it knows pc x has a connection on this port and then forwards it back to your machine.


  • Registered Users, Registered Users 2 Posts: 169 ✭✭DonnieBrasco


    ah sheeet. i dont suppose i'd be able to do that with winsock.

    i might try the programming forum to see if anything similar has been posted.

    cheers,


Advertisement