Tag

fsockopen

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Dec 27, 2023 · Backend Development

Using PHP’s fsockopen() Function to Open Network Connections

This article explains the PHP fsockopen() function, detailing its syntax, parameters, return values, and provides a complete example that demonstrates opening a TCP connection, sending an HTTP request, handling errors, and reading the response, including notes on SSL connections.

BackendNetwork ProgrammingPHP
0 likes · 4 min read
Using PHP’s fsockopen() Function to Open Network Connections
php中文网 Courses
php中文网 Courses
Dec 4, 2020 · Backend Development

Implementing Asynchronous Processing in PHP Using fsockopen, popen, curl and AJAX

This article explains how to achieve asynchronous processing in PHP by using non‑blocking socket connections, ajax calls, popen, curl, and fsockopen, providing code examples and discussing their advantages and limitations for backend development.

Backendasynchronouscurl
0 likes · 10 min read
Implementing Asynchronous Processing in PHP Using fsockopen, popen, curl and AJAX
Laravel Tech Community
Laravel Tech Community
Jul 24, 2020 · Backend Development

PHP fsockopen() Function: Usage, Parameters, and Examples

fsockopen() opens a network or Unix socket connection in PHP, with detailed parameter explanations, default behavior, error handling, and two practical code examples demonstrating HTTP GET requests and UDP socket usage, along with notes on blocking mode and related functions.

BackendNetwork ProgrammingPHP
0 likes · 4 min read
PHP fsockopen() Function: Usage, Parameters, and Examples