User Profile

Collapse

Profile Sidebar

Collapse
Asja
Asja
Last Activity: Apr 30 '09, 11:58 PM
Joined: Feb 5 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • No. But at least I know for sure now it's not a code problem. I guess whoever uses my software will just have to have their network set up appropriately if they wish to connect two computers behind the same router, and if this problem arises I may at least be able to point them in the right direction.
    See more | Go to post

    Leave a comment:


  • Thanks for all your help NeoPa.
    See more | Go to post

    Leave a comment:


  • Yes, that sounds exactly like what's happening. I don't suppose you know how to set this up, I can't see anything resembling "internal interface" in my router's setup options and port forwarding only has a WAN connection option? Is it possible for a router not to have this functionality?
    See more | Go to post

    Leave a comment:


  • The master server is located physically in a different location from the other two machines. I will explain again what takes place, by the time the error occurs, the master server is no longer part of the communication.

    1) Master Server listens for TCP connections from clients and UDP packets from servers.

    2) The server listens on a TCP port for a client connection and sends UDP packets to the Master Server. These packets...
    See more | Go to post

    Leave a comment:


  • The master server IP is 114.76.x.x
    Subnet mask: 255.255.240.0
    It is just directly connected to the internet, no router/network.
    See more | Go to post

    Leave a comment:


  • Info

    ------
    Router
    ------
    External IP: 118.208.x.x (the last two numbers change periodically)
    Network IP: 192.168.1.254

    I got these details by running ipconfig on each of the machines:
    ------
    Server
    ------
    Network IP: 192.168.1.101
    Subnet Mask: 255.255.255.0

    ------
    Client
    ------
    Network IP: 192.168.1.103
    Subnet...
    See more | Go to post

    Leave a comment:


  • I just tried connecting to a server behind the router using an external computer and it works, so it only fails when the client is behind the same router as the server.
    See more | Go to post

    Leave a comment:


  • I tried disabling the Windows firewall for all computers, but it makes no difference.
    See more | Go to post

    Leave a comment:


  • The Master Server is behind just the Windows firewall,
    The Server and Client are behind the router and Windows firewall.

    I will try disabling the Windows firewall for the server and client as you suggest.

    I said UDP was working but TCP wasn't. My mistake, none were/are working.

    Thanks again for all your help so far,
    AJ
    See more | Go to post

    Leave a comment:


  • The two machines that are behind the router just have the router (and the Windows firewall), the other machine just has the Windows firewall.

    As far as the port forwarding configuration, I have set up rule for each computer for the relevant port and selected TCP/UDP. Since the computer uses the same number TCP port as UDP port and the UDP works, I don't understand why the TCP doesn't. Maybe I could try setting up separate rules for...
    See more | Go to post

    Leave a comment:


  • It's the firewall then

    I tried turning the machine off and I get the same message, so I guess the problem is with the firewall. Do you have any idea what could cause this problem or how to fix it?
    Thanks,
    AJ
    See more | Go to post

    Leave a comment:


  • Progress but not quite there yet

    Thanks for your suggestion NeoPa.

    OK, an update on the problem:
    It turns out that you can't forward the same port to multiple computers.
    I solved this problem by allowing the user to specify which port
    their machine uses for communication and then forwarding the
    appropriate ports.

    So now all computers in all situations can communicate via...
    See more | Go to post

    Leave a comment:


  • 2 computers on same network connectnig to each other via internet

    I have written an application that runs in a kind of peer-to-peer framework. Servers connect to a masterserver, which a client then queries to receive a list of servers. The client selects a server and connects to that server directly and both the server and client sever their connections with the masterserver.

    Problem: I have the masterserver set up at a location and it is not behind a router or firewall or anything, just directly...
    See more | Go to post

  • Thanks

    Thank you very much, the following worked:

    HelpFileLink.Li nks[0].LinkData = "file:///" + System.IO.Direc tory.GetParent( Application.Exe cutablePath ).FullName + "/data/Help.html"

    If it wasn't for the need to specify the "file:" protocol just using "./data/Help.txt" works.
    See more | Go to post

    Leave a comment:


  • Asja
    started a topic Link labels to relative paths on the local machine

    Link labels to relative paths on the local machine

    Hi, I would like to create a link in my program that will open a file stored in a directory relative to the program itself.
    e.g. if the program is in the program folder, the file I want to open is program/data/file.html.

    I have no trouble creating links to websites or files specified with an absolute path but have been unable to open a file using a relative path. Any help would be appreciated.
    AJ
    See more | Go to post

  • Adding bitmap to colum other than the first in a ListView

    How can I do this? This question has been asked so many times on other forums without an answer, so I am not hopeful. OAKview has been suggested but it doesn't work, so please don't suggest that. I would like to know how to do it myself anyway, rather than use someone else's control.

    I would to add an image to the second column of a listview, it seems to only allow an image to be associated with an item rather than a subitem, though....
    See more | Go to post

  • Asja
    replied to Building Server List
    Thanks

    Thanks, that is actually what I was trying to copy for my game. I have begun to research this already but will keep looking for more info.
    See more | Go to post

    Leave a comment:


  • Asja
    started a topic Building Server List

    Building Server List

    I would like to build a list of servers to display to a client to connect to one of them (this is for a game btw). Most games have a master server that keeps a list of all active servers so the client can just receive a list from there and when you start a server they all register their presence with a master server.

    I would like to do this without a master server. Obviously the server will have to advertise it's presence somehow...
    See more | Go to post
No activity results to display
Show More
Working...