uci-socket/test/sockets/tcp-process.js

5 lines
113 B
JavaScript

export default async function (packet) {
packet.payload = this.opts.port +':'+packet.payload
return packet
}