I am developing a turn-based game in C# that uses a PHP server. I have created a series of small PHP scripts that do all the necessary server processing. I am trying to determine the fastest way to connect to these scripts. Obviously, I can just use a WebRequest
to execute the script, but I was wondering if using sockets would result in a faster transfer, ignoring the time it takes to execute the script.
Should I use WebRequest
(simple), or use sockets (more complicated)?