Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Does the Multyplayer commands support ipv6?

Author
Message
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 8th Feb 2015 00:55 Edited at: 8th Feb 2015 16:01
Like the Title says, my question is: Does agkv2 support ipv6?
And what would I choose for the port in HostNetwork(NetworkName$,PlayerName$,Port) since ipv6 don't realy need a port?

I just moved to ipv6 and tried to host a public game whithout success.
My ISP use Dual Stack Lite wich prevents me from forwarding a port via ipv4... hope u know what I mean


Using AppGameKit V2 Tier1
Beo6
10
Years of Service
User Offline
Joined: 16th Feb 2014
Location:
Posted: 9th Feb 2015 16:29
not sure if it supports IPv6 but the addressing scheme has nothing to do if you need a port or not. That is dependend of the used protocol and most protocols do use a port.
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 9th Feb 2015 18:31 Edited at: 9th Feb 2015 18:49
Quote: "That is dependend of the used protocol and most protocols do use a port."


that's not right I think.
Dont't u declare a protocol with its port?
So if you send a message with port 80 the reciever must assume that it is html, and not the other way?!
Thanks anyway Beo6

Can u send something without a port using ipv4?
I throught i know how such things works...I have a server at another location(not a rented one..my own) were I host a web server with php and mysql for agk heighscores and things using ipv4

I still think ipv6 don't use ports.
because I don't find anything about port forwarding regarding ipv6 on my router.(but that's not your problem)
Or it doesn't work that way.. aw im a bit confused now.

Maybe someone can answer my questions? (Someone hosting an AppGameKit server using ipv6?)
Maybe it should be a feature request.


Using AppGameKit V2 Tier1
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 10th Feb 2015 00:44
Ipv6 still uses ports. It's an addressing changes, not a TCP/IP change.

Onwards and sometimes upwards
Beo6
10
Years of Service
User Offline
Joined: 16th Feb 2014
Location:
Posted: 10th Feb 2015 02:09 Edited at: 10th Feb 2015 02:12
thanks JimHawkins.

Ports have nothing to do with the protocol behind it as has the addressing nothing to do with it.

Most routers that support IPv6 don't need an extra port forwarding for IPv6 because they know which IPv6 port points to which IPv4 address in your network.

They can also map IPv4 addresses directly to IPv6 adresses (see here a calculator that converts IPv4 to IPv6 and vise versa http://ipv6.ztsoftware.net/ipv4-to-ipv6/ ) or they just don't use IPv6 internal because the usable addresses for most networks at home are more than enough unless you have thousands of devices.
Then they can use traditional NAT to address your PCs in your local network with IPv4.

- sorry for the long explanation.
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 10th Feb 2015 17:52 Edited at: 10th Feb 2015 19:29
Quote: "Most routers that support IPv6 don't need an extra port forwarding for IPv6 because they know which IPv6 port points to which IPv4 address in your network."


Thats basicaly what I needed now

So ipv6 could/should work with agk right ?
I can use ports like usual cause only the adressing sheme changed, so we have more adresses.
I actually knew it, but wasn't sure somehow

Thanks you two

Hm anyway, I still can't Host a public/internet Server with agk
I will continue to try some things and tell you what happens


Using AppGameKit V2 Tier1
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 10th Feb 2015 22:14
maybe try if you can reach your app from outside with
this "ip6" syntax and same port as HostNetwork
JoinNetwork( "[2001:0db8:85a3:08d3:1319:8a2e:0370:7344]", port, "Client")

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 11th Feb 2015 13:30 Edited at: 11th Feb 2015 13:31
Quote: "JoinNetwork( "[2001:0db8:85a3:08d3:1319:8a2e:0370:7344]", port, "Client")"

I tried everything with and without [].
Can't even connect using link local or loop back ::1.

@Markus: did it work for you?


Using AppGameKit V2 Tier1
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 11th Feb 2015 14:52 Edited at: 11th Feb 2015 14:52
it was just a idea because i saw this syntax for web urls.
not tested myself.
i had read something about Dual Stack Lite at wiki.

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 11th Feb 2015 14:59
@Markus: Klar, ich kann jede Hilfe gebrauchen... danke.

Would some one please test ipv6 with agk for me ?
I don't know if i am doing it wrong, my router is doing it wrong or agk is doing it wrong


Using AppGameKit V2 Tier1

Login to post a reply

Server time is: 2024-05-25 12:42:14
Your offset time is: 2024-05-25 12:42:14