Skip to content
This repository

netstring framing #14

Open
creationix opened this Issue June 26, 2012 · 0 comments

1 participant

Tim Caswell
Tim Caswell
Collaborator

http://en.wikipedia.org/wiki/Netstring

Except using a fixed width number (UInt32LE or something) so that the payload can be binary safe. Having a framer and deframer for this makes it easy to use any message based protocol on top of raw tcp.

https://github.com/c9/smith/blob/master/smith.js#L135-176

https://github.com/c9/smith/blob/master/smith.js#L122-133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.