chore: rename nekodoge

This commit is contained in:
手瓜一十雪 committed 2024-08-27 20:53:07 +08:00
1 parent 27ae331352
commit d2fafaf33a
7 files changed
+4 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { createServer } from 'node:net';
export class NewAdapterNetwork {
constructor(public host: number, public port: number) { }
async open() {
const server = createServer((socket) => {
socket.on('data', (data) => {
});
socket.on('end', () => {
});
socket.on('connect', () => {
})
});
server.listen(this.port, this.host);
}
}