> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sensor-bridge/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sensor-bridge/_mcp/server.

# hololink::emulation::IPAddress_from_string

> Construct an IPAddress object from a string representation of the IP address.

```cpp showLineNumbers={false}
IPAddress hololink::emulation::IPAddress_from_string(
    const std::string &ip_address
)
```

Construct an [IPAddress](../typedefs/ipaddress) object from a string representation of the IP address.

python (use [IPAddress](../typedefs/ipaddress) object constructor)

**Returns:** An [IPAddress](../typedefs/ipaddress) instance

**Parameters**

**`ip_address`** `const std::string &`

The string representation of the IP address. Currently must be in format accepted by inet\_addr().

---