import { listenIpRequest } from "https://deno.land/x/simple_ipc@v0.1.3/mod.ts";
The port range it can listen on is 49152
~ 65535
(ephemeral ports).
Type Parameters
T extends MessageBody
U extends MessageBody
Parameters
onMessage: MessageHandler<T, U>
Handler function that is called each time data is received from the remote client, Return value is the response data.