Skip to content

Class LwIPClient

ClassList > LwIPClient

Inherits the following classes: IWiFiClient

Inherited by the following classes: MbedTLSClient

Public Functions

Type Name
LwIPClient ()
LwIPClient (int sock)
int available ()
int connect (IPAddress ip, uint16_t port)
int connect (const char * host, uint16_t port)
virtual int connect (IPAddress ip, uint16_t port, int32_t timeout)
virtual int connect (const char * host, uint16_t port, int32_t timeout)
uint8_t connected ()
virtual int fd () const
void flush ()
virtual IPAddress localIP () const
virtual IPAddress localIP (int sock) const
virtual uint16_t localPort () const
virtual uint16_t localPort (int sock) const
LwIPClient & operator= (const LwIPClient & other)
int peek ()
int read ()
int read (uint8_t * buf, size_t size)
virtual IPAddress remoteIP () const
virtual IPAddress remoteIP (int sock) const
virtual uint16_t remotePort () const
virtual uint16_t remotePort (int sock) const
virtual int setTimeout (uint32_t seconds)
virtual int socket ()
void stop ()
size_t write (uint8_t data)
size_t write (const uint8_t * buf, size_t size)
virtual size_t write (Stream & stream)
~LwIPClient ()

Public Functions inherited from IWiFiClient

See IWiFiClient

Type Name
IWiFiClient ()
IWiFiClient (int sock)
virtual int connect (IPAddress ip, uint16_t port, int32_t timeout) = 0
virtual int connect (const char * host, uint16_t port, int32_t timeout) = 0
virtual int fd () const = 0
virtual IPAddress localIP () const = 0
virtual IPAddress localIP (int sock) const = 0
virtual uint16_t localPort () const = 0
virtual uint16_t localPort (int sock) const = 0
operator bool ()
virtual bool operator!= (const bool value)
virtual bool operator!= (const IWiFiClient & other)
bool operator== (const IWiFiClient & other) const
virtual bool operator== (const bool value)
virtual IPAddress remoteIP () const = 0
virtual IPAddress remoteIP (int sock) const = 0
virtual uint16_t remotePort () const = 0
virtual uint16_t remotePort (int sock) const = 0
virtual int setTimeout (uint32_t seconds) = 0
virtual int socket () = 0
virtual size_t write (Stream & stream) = 0
size_t write_P (PGM_P buffer, size_t size)
~IWiFiClient ()

Public Functions Documentation

function LwIPClient [1/2]

LwIPClient::LwIPClient () 

function LwIPClient [2/2]

LwIPClient::LwIPClient (
    int sock
) 

function available

int LwIPClient::available () 

function connect [1/4]

int LwIPClient::connect (
    IPAddress ip,
    uint16_t port
) 

function connect [2/4]

int LwIPClient::connect (
    const char * host,
    uint16_t port
) 

function connect [3/4]

virtual int LwIPClient::connect (
    IPAddress ip,
    uint16_t port,
    int32_t timeout
) 

Implements IWiFiClient::connect

function connect [4/4]

virtual int LwIPClient::connect (
    const char * host,
    uint16_t port,
    int32_t timeout
) 

Implements IWiFiClient::connect

function connected

uint8_t LwIPClient::connected () 

function fd

virtual int LwIPClient::fd () const

Implements IWiFiClient::fd

function flush

void LwIPClient::flush () 

function localIP [1/2]

virtual IPAddress LwIPClient::localIP () const

Implements IWiFiClient::localIP

function localIP [2/2]

virtual IPAddress LwIPClient::localIP (
    int sock
) const

Implements IWiFiClient::localIP

function localPort [1/2]

virtual uint16_t LwIPClient::localPort () const

Implements IWiFiClient::localPort

function localPort [2/2]

virtual uint16_t LwIPClient::localPort (
    int sock
) const

Implements IWiFiClient::localPort

function operator=

LwIPClient & LwIPClient::operator= (
    const LwIPClient & other
) 

function peek

int LwIPClient::peek () 

function read [1/2]

int LwIPClient::read () 

function read [2/2]

int LwIPClient::read (
    uint8_t * buf,
    size_t size
) 

function remoteIP [1/2]

virtual IPAddress LwIPClient::remoteIP () const

Implements IWiFiClient::remoteIP

function remoteIP [2/2]

virtual IPAddress LwIPClient::remoteIP (
    int sock
) const

Implements IWiFiClient::remoteIP

function remotePort [1/2]

virtual uint16_t LwIPClient::remotePort () const

Implements IWiFiClient::remotePort

function remotePort [2/2]

virtual uint16_t LwIPClient::remotePort (
    int sock
) const

Implements IWiFiClient::remotePort

function setTimeout

virtual int LwIPClient::setTimeout (
    uint32_t seconds
) 

Implements IWiFiClient::setTimeout

function socket

virtual int LwIPClient::socket () 

Implements IWiFiClient::socket

function stop

void LwIPClient::stop () 

function write [1/3]

size_t LwIPClient::write (
    uint8_t data
) 

function write [2/3]

size_t LwIPClient::write (
    const uint8_t * buf,
    size_t size
) 

function write [3/3]

virtual size_t LwIPClient::write (
    Stream & stream
) 

Implements IWiFiClient::write

function ~LwIPClient

LwIPClient::~LwIPClient () 

The documentation for this class was generated from the following file cores/common/arduino/libraries/common/WiFiClient/LwIPClient.h