They're for JS code - but you need a way to feed socketserver.c.
While in the case of TCP/IP sockets it goes straight through, socketserver needs to grab the data first for HTTP so it can decode the headers. When someone implements Websockets it'll be important too, as it'll have to strip the header off each packet.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
They're for JS code - but you need a way to feed socketserver.c.
While in the case of TCP/IP sockets it goes straight through,
socketserver
needs to grab the data first for HTTP so it can decode the headers. When someone implements Websockets it'll be important too, as it'll have to strip the header off each packet.