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 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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue