arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WiFiServerZephyr Class Reference

WiFiServer (Zephyr zsock version) This class provides a TCP server interface using Zephyr's socket API (zsock). It mimics the Arduino WiFiServer API for compatibility. More...

#include <WiFiServerZephyr.h>

Public Member Functions

 WiFiServerZephyr (int port)
 
 ~WiFiServerZephyr ()
 
WiFiClient accept ()
 Accept an incoming client connection (blocking)
 
WiFiClient available ()
 Check for and return an incoming client connection.
 
void begin ()
 Start the server.
 
void end ()
 Stop the server.
 
int portNumber () const
 Get the port number the server is listening on.
 

Detailed Description

WiFiServer (Zephyr zsock version) This class provides a TCP server interface using Zephyr's socket API (zsock). It mimics the Arduino WiFiServer API for compatibility.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ WiFiServerZephyr()

WiFiServerZephyr ( int  port)
inlineexplicit

◆ ~WiFiServerZephyr()

~WiFiServerZephyr ( )
inline

Member Function Documentation

◆ accept()

WiFiClient accept ( )
inline

Accept an incoming client connection (blocking)

◆ available()

WiFiClient available ( )
inline

Check for and return an incoming client connection.

◆ begin()

void begin ( )
inline

Start the server.

◆ end()

void end ( )
inline

Stop the server.

◆ portNumber()

int portNumber ( ) const
inline

Get the port number the server is listening on.


The documentation for this class was generated from the following file: