WiFiServer and ESP8266WebServer side by side

Hi,

My ESP8266 application needs to show a web page and also provide a TCP/IP socket. So, can I use one instance of ESP8266WebServer and WiFiServer as below?

ESP8266WebServer server(80); WiFiServer server(8008);

Thanks and Regards, WI

yes