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

5 lines
108 B
JavaScript

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