Skip to content

Client

詳細情報

メンバー

connect()

virtual int Client::connect(IPAddress ip, uint16_t port)=0

引数

  • IPAddress ip
  • uint16_t port

戻り値

int

connect()

virtual int Client::connect(const char *host, uint16_t port)=0

引数

  • constchar * host
  • uint16_t port

戻り値

int

write()

virtual size_t Client::write(uint8_t)=0

引数

  • uint8_t ``

戻り値

size_t

write()

virtual size_t Client::write(const uint8_t *buf, size_t size)=0

引数

  • const* buf
  • size_t size

戻り値

size_t

available()

virtual int Client::available()=0

戻り値

int

read()

virtual int Client::read()=0

戻り値

int

read()

virtual int Client::read(uint8_t *buf, size_t size)=0

引数

  • uint8_t* buf
  • size_t size

戻り値

int

peek()

virtual int Client::peek()=0

戻り値

int

flush()

virtual void Client::flush()=0

stop()

virtual void Client::stop()=0

connected()

virtual uint8_t Client::connected()=0

戻り値

uint8_t

operator bool()

virtual Client::operator bool()=0