How to open TCP connection in PHP and send some String over that connection ( for example "test") ?
You can create a socket with socket_create, open it with socket_connect and write with socket_write. socket_write documentation on php.net
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With