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:

frame_sizerpc iddata

And returns random data between 100 and 2048 bytes in the following format:

frame_sizerpc idrandom data

Data is sent in Big-endian.

npm install test-socket-server

Use this to run some basic functional tests:

npm test

MIT License