13
o
Scroll down to
Microsoft Winsock Control 6.0
and “check” it
o
Click
OK
- the
Winsock
control will be added to your project’s
Toolbox
•
Add the following controls to your Project’s form (see
Fig. 3
):
Fig. 3. Controls for the Demo, step 1
o
CmdSend
CommandButton (change its
Caption
property to “Send”)
o
TxtSend
TextBox (change its
Text
property to “”, i.e. empty string)
o
LblRcv
Label (change its
Caption
property to “Receive:”)
o
TxtRcv
TextBox (change its
Text
property to “”, i.e. empty string) and set its
MultiLine
property to
“True”. Make this TextBox span several lines as shown on
Fig. 3
o
CmdClear
CommandButton (change its
Caption
property to “Clear”)