The sockets module is deprecated so that suggests that the example you are 
trying to compile needs to be updated. In general I think all the examples that 
are bundled with Nim need to be cleaned up, see the documentation for the 
asynchttpserver for a more up to date example of a HTTP server.

Reply via email to