mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-18 05:34:15 +00:00
convert to typescript
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// recreation of psn_server.cpp example from https://github.com/vyv/psn-cpp
|
||||
const dgram = require('dgram');
|
||||
const { Encoder, Tracker, Decoder } = require('..');
|
||||
const { Encoder, Tracker, Decoder } = require('../dist');
|
||||
|
||||
const client = dgram.createSocket('udp4');
|
||||
const encoder = new Encoder('Test PSN Server', 2, 0);
|
||||
|
||||
Reference in New Issue
Block a user