feat: 添加arp支持,仅支持管理员模式
This commit is contained in:
@@ -128,7 +128,7 @@ public class UDPServer
|
||||
if (IsPortInUse(currentPort))
|
||||
{
|
||||
throw new ArgumentException(
|
||||
$"Port {currentPort} is already in use.",
|
||||
$"端口{currentPort}已被占用,无法启动UDP Server",
|
||||
nameof(port)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user