eCosPro® Reference Manual
Prev |  | Next

# netconn_addr()

## Name

netconn_addr() -- Obtain the local host IP address/port of a netconn

## Synopsis

``err_t netconn_addr`(struct netconn *conn, struct ip_addr **addr, u16_t *port);`

## Description

This function is used to obtain the local IP address and port number of the connection conn.

Prev | Home | Next
netconn_peer() | Up | netconn_bind()