First of all, is this the correct place to ask any questions? If not, tell me the other proper place and forgive please.
I'm working on online multiplay game (up to 4 people) and use Hazel to make P2P communication. I also use Unity.
I'm a newbie about network coding and I don't have confidence that this implementation is right... anyway, I did like below:
I made one console have both of UdpConnectionListener and UdpClientConnection. When host console makes a room via outer matchmake service (and get IP and port number etc.), host does ConnectAsync() to guest consoles. When host's ConnectAsync succeed, guests do ConnectAsync(). Then they can communicate each other.
The problem is:
This implementation works right when all consoles are in the same network. However, when they are in different network, host's or guest's ConnectAsync() doesn't succeed. The status doesn't change "Connecting" to "Connected."
(Curiously, the other side's ConnectAsync() succeeds.)
What should I do to fix this?
I'm sorry about my poor English.
Thank you for any help.
Hi,
First of all, is this the correct place to ask any questions? If not, tell me the other proper place and forgive please.
I'm working on online multiplay game (up to 4 people) and use Hazel to make P2P communication. I also use Unity.
I'm a newbie about network coding and I don't have confidence that this implementation is right... anyway, I did like below:
I made one console have both of UdpConnectionListener and UdpClientConnection. When host console makes a room via outer matchmake service (and get IP and port number etc.), host does ConnectAsync() to guest consoles. When host's ConnectAsync succeed, guests do ConnectAsync(). Then they can communicate each other.
The problem is: This implementation works right when all consoles are in the same network. However, when they are in different network, host's or guest's ConnectAsync() doesn't succeed. The status doesn't change "Connecting" to "Connected." (Curiously, the other side's ConnectAsync() succeeds.)
What should I do to fix this?
I'm sorry about my poor English. Thank you for any help.