Test socket server that sends back variable framed random data
A socket server for testing clients. Still a work-in-progress since i'll be adding to this as needed to test client functionality.
It expects the data to be sent in the following format:
And returns random data between 100 and 2048 bytes in the following format:
|frame_size||rpc id||random data|
Data is sent in Big-endian.
npm install test-socket-server
Use this to run some basic functional tests: