Skip to content

TCP Socket, Source & Sink using the BOB streaming protocol.

License

Notifications You must be signed in to change notification settings

Fishrock123/socket

Repository files navigation

TCP Socket

TCP Socket, Source & Sink using the BOB streaming protocol.

Usage

please don't actually use this, this is not production viable and will explode

Socket

See request.js.

node request.js 127.0.0.1 3000

Implements a BOB source from a TCP socket and a BOB sink from a TCP socket. These are both wrapped together in the Socket class.

Server

See server.js.

node server.js 0.0.0.0 3000

Implements a TCP server which returns instances of the aforementioned Socket class.

License

MIT LicensedContributions via DCO 1.1

About

TCP Socket, Source & Sink using the BOB streaming protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published