Information Technology Reference
In-Depth Information
J
Example WinSock Code for Visual
Basic
J.1 My client (myClient.frm)
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "mswinsck.ocx"
Begin VB.Form myClient
Caption = "Client Application"
ClientHeight = 3210
ClientLeft = 2250
ClientTop = 6195
ClientWidth = 8265
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3210
ScaleWidth = 8265
StartUpPosition = 1 'CenterOwner
Begin VB.CommandButton HelpClient
Caption = "Example"
Height = 375
Left = 4800
TabIndex = 15
Top = 2640
Width = 1335
End
Begin VB.ListBox PortNameC
Height = 840
ItemData = "myClient.frx":0000
Left = 4560
List = "myClient.frx":0016
TabIndex = 1
Top = 1080
Width = 1815
End
Begin VB.TextBox AddressPort
Height = 285
IMEMode = 3 'DISABLE
Left = 6480
TabIndex = 14
TabStop = 0 'False
Text = "Port Number"
Top = 1080
Width = 1575
End
Begin VB.TextBox EOTClient
Enabled = 0 'False
Height = 195
Left = 0
TabIndex = 11
Search WWH ::




Custom Search