commit 24/09/2025

This commit is contained in:
2025-09-24 11:48:36 +07:00
parent 59dd67acc8
commit 55f6a24cce
7 changed files with 156 additions and 15 deletions

View File

@@ -13,8 +13,9 @@ class TCP_Barix_Command_Server {
private var job: Job? = null
private val socketMap = mutableMapOf<String, Socket>()
private val regex: String = "\\$\\\"STATUSBARIX;(\\d+);(\\d+);?(\\d)?\\\"\\$"
private val regex = """\$\\"STATUSBARIX;(\d+);(\d+);?(\d)?\\"$"""
private val pattern = Regex(regex)
/**
* Start TCP Command Server
* @param port The port number to listen on (default is 5001)