UNPKG
jsp-raknet
Version:
latest (2.2.0)
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.5.0
Basic RakNet implementation written in Javascript
github.com/JSPrismarine/RakNet
JSPrismarine/RakNet
jsp-raknet
/
js
/
utils
/
InetAddress.js
12 lines
(11 loc)
•
314 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
class
InetAddress
{
constructor
(
address, port, version =
4
) {
this
.
address
= address;
this
.
port
= port;
this
.
version
= version;
this
.
hash
= address +
'/'
+ port; } }
exports
.
default
=
InetAddress
;