Connection problems in game/app

Hi

I've been testing my game since it got approved and I've found that I cannot play with my contacts. My game is hosted in my own web server running in the same subnet as the computer from where I'm connected. I could play with my contacts using msgrp2p.xml file, but from the page it never calls the Channel_OnRemoteAppLoaded function.

I think it has something to do with connectio speed to the server, since I can get faster from here to it. I've tried to delay the Initialize function call 1 or 2 seconds when the user comes from the subnet but it doesn't work.

Any idea

Thanks
L


Answer this question

Connection problems in game/app

  • StuartF

    From the sound of his post he already has that code...

    I had the same problem and it turned out to be the web server I was hosting the app from.  Never bothered to pinpoint the exact reason..  Just mobed it to another server.

  • JRusty

    I've got it. It was a problem with my proxy server configuration. I had set up my web server as my proxy in internet explorer and made "everything" but my external ip to connect without using the proxy. I could connect to my server with the same ip as from outside my subnet but it blocked connectios to opponents. Now I've set up to connect without proxy to *.1, *.2, *..., *.255 and now I can connect to my friends to play Sudoku Race!

    Maybe one every 256 friends will have problems (the last number of my ip isn't set in the proxy config) :-p

    Thanks
    L

  • cworkman29729

    That's right, I alrady have that code. My game works alright when other people play it but I cannot play against them. I think it might be the way I used to make it connect to my own webserver, using proxy configuration. Maybe it makes connection to opponent unavailable. I will try later today.

    Thanks
    L

  • Pepp

    Hello:
    Well, you need to initialize the app: How


    //At the begining of your Javascript
    window.onload = OnLoadEvent;
    function OnLoadEvent(){
    window.external.Channel.Initialize();
    }

    I hape you will find this usefull...



  • Connection problems in game/app