# EventHttpConnection::setLocalAddress

(PECL event >= 1.2.6-beta)

EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections are made

### Descripción

public EventHttpConnection::setLocalAddress( string `$address` ): void

Sets the IP address from which http connections are made.

### Parámetros

`address`

  The IP address from which HTTP connections are made.

### Valores devueltos

No devuelve ningún valor.

### Ver también

- EventHttpConnection::setLocalPort() - Sets the local port from which connections are made