Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This is a (still) partial implementation of the ISO-on-TCP protocol (RFC1006). It implements a parser and a serializer as Transform Streams that can be used individually, and a client implementation as a Duplex stream.
The code currently lacks the implementation of parts of the protocol, as it's currently focused on the parts needed for the nodeS7 project. But as long as it follows the protocol, pull requests will be happily accepted. Please check the CODE_OF_CONDUCT.md.
This library was created as part of the ST-One project.
The easiest way to create a connection is to use the createConnection()
method
let client = isoontcp.createConnection({
port: 102
host: '192.168.0.100',
srcTSAP: 0x0100,
dstTSAP: 0x0100
});
It will create a bidirectional stream that will be sent and received as DATA (DT)
telegrams. From there on you can use it as any other Node.JS duplex stream, that is, you can call methods like client.on('data')
, client.write(buffer)
, and event client.pipe(anotherStream)
.
If you want to access the individual messages received, you can listen to the raw-message
event, or even message
for every complete DT
telegram.
Please check the JSDoc Documentation
These are some abbreviations commonly found in the references that may be useful to know beforehand
Copyright: (c) 2018-2020, ST-One, Guilherme Francescon Cittolin guilherme@st-one.io
GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
FAQs
ISO-on-TCP Protocol implementation
The npm package iso-on-tcp receives a total of 429 weekly downloads. As such, iso-on-tcp popularity was classified as not popular.
We found that iso-on-tcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.