Running a Web Sockets Server on MKR1000

Hi,
I'm trying to run a Web Sockets server on the MKR1000.

I had no luck with the library I've been using so far.

GitHub - ejeklint/ArduinoWebsocketServer; this works like a charm on a UNO with Ethernet Shield.

I've found other libraries mainly for ESP8266 like GitHub - Links2004/arduinoWebSockets: arduinoWebSockets. This last one seems mature but doesn't compile for MKR1000.

Do you have any experience with WebSockets server and MKR1000? Do you know a library that works?
Thank you.

Try swapping out the espwifi.h for wifi101.h this might not solve your problem but it's a start. I've found a lot of examples written for other wifi libs work the same with the correct wifi lib for the MKR1000 which is wifi101.h