print port number

This commit is contained in:
zontreck 2024-06-03 15:43:13 -07:00
parent 868303b9da
commit 0b3458a0b6
2 changed files with 2 additions and 2 deletions

View file

@ -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(

View file

@ -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"