Using the pew-transport you can send and receive binary files via an TCP socket connection.
pew-transport have 2 simples methods to prepare your files or messages and recovery it.
See below some examples of use:
var transport = ;var buffer = 'My first test';var buf = transport;//buf is ready to send using TCP connections;
var transport = ;var net = ;var server = net;server;