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

📄 types.bas

📁 Winsock的多客户服务器源代码,比较好的WINSOCK应用示例!
💻 BAS
字号:
Attribute VB_Name = "types"

'this is the data-type for each client.
'it keeps a record of everybody connected
'and also stores data on what socket they
'are using, customize for your needs.

Type client_type

'socket they are using, 0 if not used
socket As Integer

'time they connected
connected_at As String

'remember when his last command was
idle_since As String


End Type

'this creates an array for each possible client
Public client(server_max_clients) As client_type

⌨️ 快捷键说明

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