31.05.2014 Views

VB Tutorial - TIBBO Technology

VB Tutorial - TIBBO Technology

VB Tutorial - TIBBO Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.4. Step 3: TCP/IP communications<br />

18<br />

Finally, let’s modify the Demo to communicate with the DS100/EM100 using the TCP/IP protocol. This<br />

protocol has many advantages over the UDP/IP. Naturally, this also implies a somewhat more complicated<br />

programming.<br />

• Stop the Demo<br />

Fig. 4. Controls for the Demo, step 3<br />

• If you have assigned a new IP-address to the DS100/EM100 in the previous section then change<br />

the RemoteHost property of the WinSock control accordingly<br />

• Change the RemotePort property of the WinSock back to 1001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!