A synchronous TCP client for NodeJS.

abbycin 3ca90fe3f8 it works 5 months ago
src 3ca90fe3f8 it works 5 months ago
.gitignore 3ca90fe3f8 it works 5 months ago
README.md 3ca90fe3f8 it works 5 months ago
binding.gyp 3ca90fe3f8 it works 5 months ago
index.js 3ca90fe3f8 it works 5 months ago
package.json 3ca90fe3f8 it works 5 months ago
test.js 3ca90fe3f8 it works 5 months ago

README.md

description

an alternative synchronous socket client for NodeJS

install

npm install git+https://github.com/abbycin/sync_net

use as dependency in package.json

{
  "dependencies": {
    "sync_net": "abbycin/sync_net#master"
  }
}

usage

see test.js

NOTE

on windows, you can run npm install --global --production windows-build-tools as Administrator to install python2.7 and vs_BuildTools.

then, you may run npm config set python /path/to/executable/python2.7, default location is C:/Users/yourname/.windows-build-tools/python27.

if auto-detection fails for Visual C++ Build Tools 2015, so --msvs_version=2015 needs to be added by running node-gyp configure --msvs_version=2015.

complete guide see node-gyp