SHIVAPRASHANTH S. HIREMATH
Welcome to Shiva's Website
I am implementing a project of controlling devices over the Internet using VB6 with Winsock Control Component v6.
Following is the Synopsis
Check out soon for detailed project
u can email me at sshiremath2000@yahoo.co.in
PROJECT SYNOPSIS
“DEVICE CONTROL OVER THE INTERNET”
TEAM MEMBERS:
SHIVAPRASHANTH S. HIREMATH
AMIT KATHARE
PANKAJ CHITGUPKAR
GAURISHANKAR
ABSTRACT
One of the most astonishing and rapid developing information technologies is undoubtedly the Internet technology. The power of Internet is reflected in its being interactive, timely and unbounded by locations. The Internet is widely used for efficient and reliable dissemination of digital information. Thus, it is a natural choice for data communication tasks arising in remote controlling of some process.
In this project we exploit the Internet as a channel to control the parameters of devices like speed, direction etc. Here the devices can be controlled from anywhere in the world. Devices may be DC motors, Relays or Stepper motors. This methodology eliminates the need for the user to interact with the device from close proximity. In addition Internet-based graphics tools, like Visual Basic or Visual CPP are used for user convenient interaction.
KEYWORDS: Internet, TCP/IP, Microsoft WINSOCK, Client/Server communication, Visual Basic or Visual CPP.
Introduction
Applications using the PC are numerous like equipment controlling and monitoring systems etc. Using PC with 8255 card or parallel port (for external hardware interface) which provides programmable I/O lines, we can control devices by configuring these I/O lines. Attaching the devices such as DC motors, Stepper motors or Relays to the 8255 interfacing card or parallel port, we would be able to operate these devices.
The internet gives the ability to control a process on a computer, in real-time over the Internet. For this we make use of TCP/IP programming to establish connection between CLIENT PC and SERVER PC. Server PC is the one to which the device to be controlled is interfaced. Client PC is the one from which we issue commands to operate devices remotely from anywhere in the world.
Requirements:
Hardware
· Client and Server computers
· 8255 interfacing card or PCs parallel port
· Devices to be controlled
Software
· Visual Basic GUI
· C or C++
Operation

As in figure shown, the Client PC can be any terminal connected to internet anywhere in the world. The device to be controlled is interfaced to the server PC by means of 8255 interfacing card or parallel port. Server PC waits for the client PC to establish connection. The client PC establishes connection with server PC over the internet using Transmission Control Protocol (TCP) and Internet Protocol (IP). Once connection is made between the two PCs we can issue commands from client PC to server PC which corresponds to the controlling of devices.
For client/server communication we make use of MSWINSOCK CONTROL component available in Visual Basic, which includes all the functions required for TCP/IP as well as UDP (User Datagram Protocol) programming. WINSOCK stands for WINdows SOCKets which is a standard application programme interface for TCP/IP stacks.
TCP/IP protocol is a connection oriented and reliable protocol, where as UDP is connectionless and unreliable. Hence we use TCP/IP protocol for client/server communication so that devices are operated in real-time without errors. The TCP protocol describes how two terminals set up a reliable connection to each other and transfer data packets successfully, where as IP deals with how to get a message routed across the Internet to its destination as identified by the 32-bit IP address.