Sockets
From CommonJS Spec Wiki
(Redirected from CommonJS/Sockets)
Contents
Requirements/Proposals
- Sockets/A Proposal
- IO/B/Socket of the IO/B proposal
Questionnaires and show of hands
- Summary/Comparison of current Socket APIs used by JS engines: CommonJS Socket Object Survey
- Show of hands
Prior Art
- NSPR Socket Manipulation Functions https://developer.mozilla.org/en/NSPR_API_Reference/I%2f%2fO_Functions#Socket_Manipulation_Functions
- W3 WebSocket interface http://dev.w3.org/html5/spec/Overview.html#network
- v8cgi has a Socket class
- jslibs jsio module This module is based on Netscape Portable Runtime (NSPR) that provides a platform-neutral API for system level and libc like functions. http://code.google.com/p/jslibs/wiki/jsio
- Synchronet provides a Socket class that supports TCP and UDP sockets and provides a fairly complete wrapper for the Berkeley Sockets API: http://synchro.net/docs/jsobjs.html#Socket
- Ejscript provides a Socket class too for TCP and UPP. See: http://www.ejscript.org/products/ejs/doc/api/gen/ejscript/ejs.io-Socket.html
- Jaxer provides a Socket implementation.
- APE provides a high level socket API : http://www.ape-project.org/wiki/index.php/How_to_build_a_serverside_JS_module#Sockets
Inspiration
- some free time, a couple of Cokes and wanting CommonJS implementations of File and Socket ASAP