Need help to use the constructor WiFiServer from ESP8266WiFi.h in own Library

Hi there,

i try to codeing my own library and i need to use the constructor WiFiServer from ESP8266WiFi.h in my library. Can some one show a simple example to use the constructor WiFiServer in a new header file and the cpp file

I try somthing but i get allways an error when compiling

many thanks

mak_s: Hi there,

i try to codeing my own library and i need to use the constructor WiFiServer from ESP8266WiFi.h in my library. Can some one show a simple example to use the constructor WiFiServer in a new header file and the cpp file

I try somthing but i get allways an error when compiling

many thanks

https://github.com/jandrassy/TelnetStream/blob/master/src/TelnetStream.cpp

there was my solution
thx