From 125db633619a0b4c7bd1d498ea2bf1cefa4f73d3 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 09 二月 2023 18:54:13 +0800 Subject: [PATCH] '远程OCR' --- app/SocketManager.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/app/SocketManager.h b/app/SocketManager.h index 35c0c1c..d2ec1a2 100644 --- a/app/SocketManager.h +++ b/app/SocketManager.h @@ -26,6 +26,7 @@ static void runSocketServer(void* context); static void processMsg(SOCKET client, void* context); static const int PORT = 9001; + static const int OCR_PORT = 9002; sockaddr_in clientaddr; SOCKET getClient(int p); @@ -60,6 +61,8 @@ static string sendMsg(const char*); + static string sendOcrMsg(const char*); + }; -- Gitblit v1.8.0