代码拉取完成,页面将自动刷新
From 1005ad274d1a59d8a2d60fc280eae38f43c90dbe Mon Sep 17 00:00:00 2001
From: lixiang <lixiang_yewu@cmss.chinamobile.com>
Date: Fri, 11 Oct 2024 09:58:44 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
examples/inc/server.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/inc/server.h b/examples/inc/server.h
index 4631a28..35773e1 100644
--- a/examples/inc/server.h
+++ b/examples/inc/server.h
@@ -33,7 +33,7 @@ struct ServerMumUnit
uint64_t recv_bytes; ///< total receive bytes
struct ServerIpInfo server_ip_info;
uint16_t port; ///< server port
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
char* domain; ///< communication domain
char* api; ///< the type of api
bool debug; ///< if we print the debug information
@@ -65,7 +65,7 @@ struct ServerMudWorker
int32_t epfd; ///< the worker epoll file descriptor
struct epoll_event *epevs; ///< the epoll events
uint64_t recv_bytes; ///< total receive bytes
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
ip_addr_t ip; ///< client ip
uint16_t port; ///< client port
char* api; ///< the type of api
@@ -88,7 +88,7 @@ struct ServerMud
struct epoll_event *epevs; ///< the epoll events
struct ServerIpInfo server_ip_info;
bool* port; ///< server port point to parameter's port
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
char* domain; ///< communication domain
char* api; ///< the type of api
bool debug; ///< if we print the debug information
@@ -184,7 +184,7 @@ void *sermud_listener_create_and_run(void *arg);
int32_t sermud_create_and_run(struct ProgramParams *params);
/**
- * @brief the multi thread, unblock, mutliplexing IO server prints informations
+ * @brief the multi thread, unblock, multiplexing IO server prints informations
* The multi thread, unblock, mutliplexing IO server prints informations.
* @param server_mum the server information
*/
@@ -199,7 +199,7 @@ void sermum_info_print(struct ServerMum *server_mum);
int32_t sersum_create_epfd_and_reg(struct ServerMumUnit *server_unit);
/**
- * @brief the single thread, unblock, mutliplexing IO server accepts the connections
+ * @brief the single thread, unblock, multiplexing IO server accepts the connections
* The single thread, unblock, mutliplexing IO server accepts the connections.
* @param server_unit the server unit
* @param server_handler the server handler
@@ -208,7 +208,7 @@ int32_t sersum_create_epfd_and_reg(struct ServerMumUnit *server_unit);
int32_t sersum_accept_connects(struct epoll_event *cur_epev, struct ServerMumUnit *server_unit);
/**
- * @brief the single thread, unblock, mutliplexing IO server processes the events
+ * @brief the single thread, unblock, multiplexing IO server processes the events
* The single thread, unblock, mutliplexing IO server processes the events.
* @param server_unit the server unit
* @return the result pointer
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。