Mbed library for ENC28J60 Ethernet modules. Full support for TCP/IP and UDP Server, Client and HTTP server (webserver). DHCP and DNS is included.

Dependents:   mBuino_ENC28_MQTT Nucleo_Web_ENC28J60 Nucleo_Web_ENC28J60_ADC Serial_over_Ethernet ... more

Embed: (wiki syntax)

« Back to documentation index

nsapi_addr Struct Reference

nsapi_addr Struct Reference
[Netsocket]

IP address structure for passing IP addresses by value. More...

#include <nsapi_types.h>

Data Fields

nsapi_version_t version
 IP version

  • NSAPI_IPv4
  • NSAPI_IPv6
  • NSAPI_UNSPEC.

uint8_t bytes [NSAPI_IP_BYTES]
 IP address The raw bytes of the IP address stored in big-endian format.

Detailed Description

IP address structure for passing IP addresses by value.

Definition at line 187 of file nsapi_types.h.


Field Documentation

uint8_t bytes[NSAPI_IP_BYTES]

IP address The raw bytes of the IP address stored in big-endian format.

Definition at line 198 of file nsapi_types.h.

nsapi_version_t version

IP version

  • NSAPI_IPv4
  • NSAPI_IPv6
  • NSAPI_UNSPEC.

Definition at line 193 of file nsapi_types.h.