Connection from one server application to another
Options
chvetsov
mod
Hi, there!
I use Photon server 2-0-5-1
I try to connect one server applicatin to another in the same server process. But connection can't be established.
How i do this.
When Server Application executes setup I create ExitGames.Client.Photon.PhotonPeer and call Connect("localhost:4530", "coordinator"). but connection failes.
I don't understand what i'm doing wrong
This is a log from DebugReturn
[3244] 2265 - Info: Connection opened. Local: 127.0.0.1:4530 Remote: 127.0.0.1:4530. MTU: 1400
[3244] 2343 - TCP listening
[3244] 2374 - bodylen = 7
[LoginServer] 2390 - Connecting to coordinator
[3244] 2390 - receiveIncomingCommands() inBuff.Length:7
[3244] 2453 - TCP < 7
[3244] 2484 - receiveIncomingCommands() inBuff.Length:9
First-chance exception at 0x7c812afb in PhotonSocketServer.exe: Microsoft C++ exception: JetByteTools::Win32::CException at memory location 0x0012e4bc..
I use Photon server 2-0-5-1
I try to connect one server applicatin to another in the same server process. But connection can't be established.
How i do this.
When Server Application executes setup I create ExitGames.Client.Photon.PhotonPeer and call Connect("localhost:4530", "coordinator"). but connection failes.
I don't understand what i'm doing wrong
This is a log from DebugReturn
[3244] 2265 - Info: Connection opened. Local: 127.0.0.1:4530 Remote: 127.0.0.1:4530. MTU: 1400
[3244] 2343 - TCP listening
[3244] 2374 - bodylen = 7
[LoginServer] 2390 - Connecting to coordinator
[3244] 2390 - receiveIncomingCommands() inBuff.Length:7
[3244] 2453 - TCP < 7
[3244] 2484 - receiveIncomingCommands() inBuff.Length:9
First-chance exception at 0x7c812afb in PhotonSocketServer.exe: Microsoft C++ exception: JetByteTools::Win32::CException at memory location 0x0012e4bc..
0
Comments
-
We found a problem. We tried to connect to early0
-
You mean that Photon was not yet started completely?
This could happen, true. On some machines, it takes a little longer to startup...0