WebServer + WebSocket server

Hello,

I would like to use my arduino as websocket server but also hosted my page (html+javascript) on the arduino with the sdcard.

When I do the first request (GET mypage.htm) to the server (arduino), it have to return my html page. The arduino acts as webserver

This page should initialize the websocket between the browser and the server. All others requests are via websocket only. The arduino acts as websocket server.

How to mix both in the same sketch ?? Any example should be appreciated.

Romeo

Perhaps you should post the code that works.