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 Future<void> start(int port) async {
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!) {
print(