Playit.gg tunnel #491
@ -1,6 +1,9 @@
|
|||||||
import dgram from "node:dgram";
|
import dgram from "node:dgram";
|
||||||
import net from "node:net";
|
import net from "node:net";
|
||||||
|
|
||||||
|
export type playitTunnelOptions = {};
|
||||||
|
export async function playitTunnel(options: playitTunnelOptions) {}
|
||||||
|
|
||||||
export type proxyUdpToTcpOptions = {
|
export type proxyUdpToTcpOptions = {
|
||||||
udpType?: dgram.SocketType,
|
udpType?: dgram.SocketType,
|
||||||
listen?: number,
|
listen?: number,
|
||||||
@ -83,4 +86,4 @@ export function proxyTcpToUdp(options: proxyTcpToUdpClient) {
|
|||||||
const addr = this.address();
|
const addr = this.address();
|
||||||
console.log("Port listen, %s (tcp -> udp)", addr.port);
|
console.log("Port listen, %s (tcp -> udp)", addr.port);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user