dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: client/server app problem

  1. #1
    Join Date
    May 2007
    Posts
    127

    client/server app problem

    Hello! I've started to learn internet programming. I've made a simple text conference app which I use it to talk with my friend over the internet.
    The problem is that my friend can only connect to me, my aplication can act like a server on his PC (well... my app can act like a server but I can't connect to)

    The problem is that he has a private IP. I've tried to connect with his public IP (whatismyip.com) but no luck. The same happens with a game (FIFA 2007): he can't create a server (host)... he always must connect to me.

    What I need is not some application that can help with this problem.... I want to make my app to work around this problem.

    Please, sorry for my bad english! Hope I was clear (maybe a tiny bit).

    Bye!

  2. #2
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Posts
    360

    Re: client/server app problem

    Your friend needs to setup port forwarding on his router/firewall. This will then allow the router to accept the traffic for the (forwarded) port from the public IP and forward that to the private IP address of the computer running your software.

  3. #3
    Join Date
    May 2007
    Posts
    127

    Re: client/server app problem

    Thanks for your reply! I don't know what you mean, but now I have some keywords to look for. Thanks, Bye!

  4. #4
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Posts
    360

    Re: client/server app problem

    In case you need more keywords to look for, some routers call it "application sharing" instead of "port forwarding".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)