W60X_Arduino: WiFiServer Class Reference

Arduino W60X

W60X_Arduino

Inherits Server.

Public Member Functions

 WiFiServer (IPAddress addr, uint16_t port)
 This constructor is used to init WiFiServer object with the address and port specify by caller. More...
 
 WiFiServer (uint16_t port)
 This constructor is used to init WiFiServer object with port specify by caller. More...
 
bool hasClient ()
 
void begin ()
 This function is used to start the WiFiServer. More...
 
void begin (uint16_t port)
 This function is used to start the WiFiServer. More...
 
void setNoDelay (bool nodelay)
 This function is used to set no-delay flag. More...
 
bool getNoDelay ()
 This function is used to get no-delay flag. More...
 
virtual size_t write (uint8_t)
 This function is used to send the message (one byte) to peer. More...
 
virtual size_t write (const uint8_t *buf, size_t size)
 This function is used to send the message to peer. More...
 
uint8_t status ()
 
void close ()
 This function is used to close the connection. More...
 
void stop ()
 This function is used to close the connection. More...
 
long _accept (tcp_pcb *newpcb, long err)
 
- Public Member Functions inherited from Print
int getWriteError ()
 This function is used to get write error number. More...
 
void clearWriteError ()
 This function is used to clear write error number. More...
 
size_t write (const char *str)
 This function is used to write buffer to the interface defined by the object. More...
 
size_t write (const char *buffer, size_t size)
 This function is used to write buffer to the interface defined by the object. More...
 
size_t print (const String &)
 This function is used to print buffer to the interface defined by the object. More...
 
size_t print (const char [])
 This function is used to print buffer to the interface defined by the object. More...
 
size_t print (char)
 This function is used to print buffer to the interface defined by the object. More...
 
size_t print (unsigned char, int=DEC)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (int, int=DEC)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (unsigned int, int=DEC)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (long, int=DEC)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (unsigned long, int=DEC)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (double, int=BIN)
 This function is used to print target to the interface defined by the object. More...
 
size_t print (const Printable &)
 This function is used to print target to the interface defined by the object. More...
 
size_t println (void)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (const String &s)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (const char [])
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (char)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (unsigned char, int=DEC)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (int, int=DEC)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (unsigned int, int=DEC)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (long, int=DEC)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (unsigned long, int=DEC)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (double, int=BIN)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 
size_t println (const Printable &)
 This function is used to print target to the interface defined by the object with carriage ret ('') and new line ('
'). More...
 

Static Public Member Functions

static err_t _s_accept (void *arg, tcp_pcb *newpcb, err_t err)
 

Protected Attributes

uint16_t _port
 
IPAddress _addr
 
tcp_pcb * _pcb
 
bool _noDelay = false
 

Additional Inherited Members

- Protected Member Functions inherited from Print
void setWriteError (int err=1)
 
Generated by   doxygen 1.8.14