Answer the question
In order to leave comments, you need to log in
How to organize data exchange between C# and PHP?
Hello.
There is a game server, authorization, highscore table, enemy search, written in PHP (Laravel).
The pvp combat itself is in C# (.net/win/mono) on the SuperSocket framework.
Are there ways to directly exchange messages and data between processes? While in the direction of PHP -> C#.
Now communication takes place through the database and the game client.
I already tried sockets and RabbitMQ, I'm looking for more options. Maybe there is something for UnixSignals Linux processes?
Answer the question
In order to leave comments, you need to log in
Shared memory is probably the fastest, but I'm not sure how easy it will be to cross PHP and C #, at least ready-made solutions are not known to me. Sockets and pipes are good for 99% of tasks, and they are about equally fast.
Perhaps it will be convenient for you to raise the REST interface in C #.
An overview of different types of interaction: https://habrahabr.ru/post/122108/
Why did sockets not please you?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question