I try to create a tcp/ip socket connection from a c# app to a PHP 5.3 script using PHP sockets. The c# app should send JSON strings to the PHP script.
My question in regard to the socket_read manual: What do they mean with:
"PHP_BINARY_READ (Default) - use the system recv() function.
Safe for reading binary data."
What exactly does PHP_BINARY_READ and why should I use the recv() function when using this parameter?
Any help is highly appreciated.