Constructor
new SocketReceive()
- Source:
Example
const socket = new lfo.source.SocketReceive({ port: 8000 });
const logger = new lfo.sink.Logger({
time: true,
data: true,
});
socket.connect(logger);
Receive an lfo frame as a socket message from a client.sink.SocketSend
instance.
Experimental
const socket = new lfo.source.SocketReceive({ port: 8000 });
const logger = new lfo.sink.Logger({
time: true,
data: true,
});
socket.connect(logger);