Title: Requests_Proxy_HTTP::fsockopen_remote_socket
Published: August 16, 2016
Last modified: November 2, 2022

---

# Requests_Proxy_HTTP::fsockopen_remote_socket( string $remote_socket )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#wp--skip-link--target)

Alter remote socket information before opening socket connection

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#parameters)󠁿

 `$remote_socket`stringrequired

Socket connection string

## 󠀁[Source](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#source)󠁿

[View all references](https://developer.wordpress.org/reference/files/wp-includes/requests/proxy/http.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/Requests/Proxy/HTTP.php#L117)

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/requests_proxy_http/fsockopen_remote_socket/?output_format=md#changelog)󠁿

| Version | Description | 
| [1.6](https://developer.wordpress.org/reference/since/1.6/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Frequests_proxy_http%2Ffsockopen_remote_socket%2F)
before being able to contribute a note or feedback.