I know that PHP does allow you to create a server but what about client? I would need a script that connects to my TCP/IP server on given port and send some data. Is that possible in PHP and if so, could you help me please? I did not find anything useful.
I have my TCP/IP server running on port 1301 and I would need users to be able by clicking on web page send one char to the server.
I know that PHP does allow you to create a server but what about
Share
It’s similar to how you would create a server. I’d recommend taking a look at the documentation for socket_connect.
Summaries:
Workflow: