Skip to content

Commit 8997012

Browse files
author
文pig4210
committed
pig4210 xlualib升级TCP Sever支持部分,此项目同步升级
1 parent 45df486 commit 8997012

File tree

7 files changed

+10
-3
lines changed

7 files changed

+10
-3
lines changed

ExtendLuaForWireshark.v12.suo

-4 KB
Binary file not shown.

x64/lua52.dll

3.5 KB
Binary file not shown.

x64/lua52.lib

0 Bytes
Binary file not shown.

x86/lua52.dll

2.5 KB
Binary file not shown.

x86/lua52.lib

0 Bytes
Binary file not shown.

xlua.lua

0 Bytes
Binary file not shown.

xlua.txt

+10-3
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ DES
644644
--����UDP{server/client}:######## local_ip:port >> link_ip:port
645645

646646
UDP UDP:settimeout ( int timeout ); [-1, +1, v]
647-
--�շ���ʱ�������
647+
--������ʱ�������
648648

649649
UDP UDP:broadcast ( bool set ); [-1, +1, v]
650650
--�㲥����
@@ -692,15 +692,22 @@ DES
692692
--����TCP{server/client}:######## local_ip:port >> link_ip:port
693693

694694
TCP TCP:settimeout ( int timeout ); [-1, +1, v]
695-
--�շ���ʱ�������
695+
--������ʱ������ơ�Server��֧��
696696

697697
TCP TCP:broadcast ( bool set ); [-1, +1, v]
698-
--�㲥����
698+
--�㲥���á�Server��֧�
699699

700700
TCP TCP:send ( string data ); [-1, +1, c|v]
701+
--�������ݡ�Server��֧��
701702

702703
string TCP:recv ( [ int size = 0x800 ] ); [-0|1, +1|2, c|v]
703704
--�����ṩsizeʱ��Ĭ���ṩ0x800�Ľ��ջ�����
705+
--��ʱ����nil, "timeout"��Server��֧��
706+
TCP TCP:accept ( [ int timeout == -1 ]); [-0|1, +1|2, v]
707+
--Client��֧��
708+
--�����ṩtimeoutʱ��Ĭ�ϳ�ʱֵ-1��������ֱ�����ӷ���
709+
--���ṩtimeout(�����)ʱ������ָ��ʱ�䣬ֱ�����ӷ�����ʱ����
710+
--���ӷ���ʱ�����������ӵ�TCP����
704711
--��ʱ����nil, "timeout"
705712

706713

0 commit comments

Comments
 (0)