/socket

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

Primary LanguageC++MIT LicenseMIT

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