initial commit
This commit is contained in:
commit
08902abf97
6
tcplexer.ts
Normal file
6
tcplexer.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { copy } from "https://deno.land/std@0.145.0/streams/conversion.ts";
|
||||
const listener = Deno.listen({ port: 8080 });
|
||||
console.log("listening on 0.0.0.0:8080");
|
||||
for await (const conn of listener) {
|
||||
copy(conn, conn).finally(() => conn.close());
|
||||
}
|
Loading…
Reference in a new issue