We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34371a2 commit 63d1f76Copy full SHA for 63d1f76
软件系统服务端模版/form1.cs
@@ -801,13 +801,13 @@ private void Net_simple_file_server_FileChange()
801
/// <summary>
802
/// 服务器的UDP核心引擎
803
/// </summary>
804
- private UdpNetServer net_udp_server { get; set; }
+ private Net_Udp_Server net_udp_server { get; set; }
805
806
private void Net_Udp_Server_Initialization()
807
{
808
try
809
810
- net_udp_server = new UdpNetServer();
+ net_udp_server = new Net_Udp_Server();
811
net_udp_server.LogHelper.LogSaveFileName = Application.StartupPath + @"\udp_log.txt";//日志路径
812
net_udp_server.ReceiveCacheLength = 1024;//单次接收数据的缓冲长度
813
net_udp_server.AcceptByte += Net_udp_server_AcceptByte;//接收到字节数据的时候触发事件
0 commit comments