Results 1 to 6 of 6

Thread: Netplay Delphix connection issues

  1. #1

    Netplay Delphix connection issues

    well, I am using as a test the chat program that comes with delphix

    Problems immediately arose with people behind routers

    I looked at traffic in my firewall and discovered 2 UDP ports and 2 TCP ports in use, seemingly randomely chose

    Now I have no experience with routers but I am told that to make sure, ports must be opened if the computer is hosting. How can they open UDP/TCP ports that seem to be random? (this might sound completely dumb)

    More to the point can I tell DXplay which port(s) to use?

    1 person couldn't join me or host, 1 person could join me but couldnt host properly.

    Anyone got any experience in this?>

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Netplay Delphix connection issues

    Oh... I've played extensively with DirectPlay way back in the days of yor... well, ok maybe not that far back. But it was quite some time ago.

    I was creating a multiplayer game called 'Snakes' (tron clone) where I'd use DirectPlay having one player as a host 'lobby' and the others would connect to it.

    One of the first issues I came across was just what you mentioned. You need a visible IP address for others connecting/hosting to see you. If both client and server are under the LAN then it should work fine between them, but if you want to access externally the server (at least) needs to be able to capture and use the WAN IP address.

    My recommendation is that if you are 'dead set' on using DirectPlay, you'll have to find a way via networking not program code, to give the server access to an external (visible) IP address. DirectPlay just isn't built to be that sophisticated an API.

    Also note that DirectPlay only uses TPC not UDP iirc. So it would be slow if you are sending intense amounts of data back and forth. If not, it should be ok.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3

    Netplay Delphix connection issues

    So then, who is up for making a new improved DXplay :shock:

    I will search around hopefully theer is another component somewhere , sadly as a novice writing it from scratch using API's and the like is beyond me

  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Netplay Delphix connection issues

    I'm not one to pull the 'just use something else card', but... is DirectPlay even supported by the current versions of DirectX? Will it be in DX10?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5

    Netplay Delphix connection issues

    hmmmm have you or anyone else here successfully made an online game using delphi? Say something simple like pong? If so, how did you go about it?

    Before I start I want to be sure I can finish

  6. #6

    Netplay Delphix connection issues

    Currently recommended way by MS is to implement networking using just plain sockets.

    But DirectPlay is still supported and available on Vista. It's just doesn't make a much cense to use it as now all networking is done using std ethernet. While IIRC DirectPlay has some workarounds for punching NAT firewalls between players (but probably one of them should have real IP anyway, or both have common game server).
    There are only 10 types of people in this world; those who understand binary and those who don't.

Bookmarks

Posting Permissions

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