mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-03-26 06:29:46 +08:00
16 lines
268 B
Dart
16 lines
268 B
Dart
import 'dart:io';
|
|
|
|
class InetSocketAddress {
|
|
final InternetAddress address;
|
|
final int port;
|
|
|
|
InetSocketAddress(this.address, this.port);
|
|
|
|
String get host => address.host;
|
|
|
|
@override
|
|
String toString() {
|
|
return "InetSocketAddress($address:$port)";
|
|
}
|
|
}
|