print port number
This commit is contained in:
parent
868303b9da
commit
0b3458a0b6
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class PacketServer {
|
||||||
static bool shouldRestart = true;
|
static bool shouldRestart = true;
|
||||||
static Future<void> start(int port) async {
|
static Future<void> start(int port) async {
|
||||||
socket = await ServerSocket.bind(InternetAddress.anyIPv4, port);
|
socket = await ServerSocket.bind(InternetAddress.anyIPv4, port);
|
||||||
print("Server now listening on port 25306");
|
print("Server now listening on port ${port}");
|
||||||
|
|
||||||
await for (var sock in socket!) {
|
await for (var sock in socket!) {
|
||||||
print(
|
print(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: libac_dart
|
name: libac_dart
|
||||||
description: "Aria's Creations code library"
|
description: "Aria's Creations code library"
|
||||||
version: 1.0.24
|
version: 1.0.25
|
||||||
homepage: "https://zontreck.com"
|
homepage: "https://zontreck.com"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue