⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 incomming_data.bas

📁 Winsock的多客户服务器源代码,比较好的WINSOCK应用示例!
💻 BAS
字号:
Attribute VB_Name = "incomming_data"
Option Compare Text 'lose cap sensitivity for this module

Sub decode_data(data As String, socket As Integer)
'a socket has sent some data to the server, write your code
'to translate the data here..

'first update the idle information
client(get_clientid(socket)).idle_since = f_time

'now decode the data

'if mid(data,1,3) = "SAY" then... etc etc


End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -