kihlh / hmn-win32

hmc-win32的子集 仅处理网络部分
https://kihlh.gitbook.io/hmc/
MIT License
1 stars 0 forks source link
network vcpp win32 winapi

HMN-win32: Package for Windows Net API

系统环境 系统环境 系统环境 系统环境

help

ddffsd Parts of this document were translated by machine (Gpt3.5)

Backwards compatible to node6.14.2 but the precompiled version is only supported to node8 and above (because node6 has no asynchronous syntactic sugar), for node6 please compile to node6.14.2 with esbuld yourself

HMN 是 HMC-WIN32 的子分支,与HMC不同的是 HMN 仅处理网络相关的api

编程帮助(中文) help (English) CPP (source)

installation

npm i hmn-win32

How to call

let HMN = require("hmn-win32");
console.log("net:getConnectNetList=>",hmn.getConnectNetList()[0])

In TypeScript using the

import  HMC = require("hmn-win32");

功能概览

API中间层

API

重新构建

HMC所有API采用 winapi + nodeapi实现,因此无需重新编译(允许运行在node8以上环境 node6.14.2 需要自行使用esbuld编译),如果您需要对源代码进行修改请使用node-gyp rebuild 进行编译,这需要有一定的C/C++基础,编译工具使用node-gyp即可,需要使用到的工具如下:

风险告知