sidorares / abstractsocket Goto Github PK
View Code? Open in Web Editor NEWabstract unix sockets support for net.createConnection
License: Other
abstract unix sockets support for net.createConnection
License: Other
I have tested on node 0.10 and 0.12; in 0.12 the core net library correctly listens and also connects to paths starting with '\0', so it seems this module is now redundant. It would be nice if a note to that effect is included in the front page of this project - it is only useful for 0.10 and below.
Instead of patching just net.createConnection, this should probably patch Socket.prototype.connect.
A way to also handle abstract socket servers (net.createServer or Socket.prototype.listen) might also be expected from users, but since that's not easy to fake with executing socat maybe a note for the incomplete functionality should be added to the README.md.
The reliance on socat binary in the system path may not be obvious to users and needs to be more clearly documented in README.md
binary module example: https://github.com/bnoordhuis/node-unix-dgram
what is it for? how does an abstract socket differ from a regular socket?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.