PC_TO_IRIS
Data Transmission Via UDP Sockets
PC_TO_IRIS is a Visual C program which runs on a PC, uses the
WINSOCK API, opens a socket under the UDP protocol, and sends data
to another machine. The IRIS_TO_PC program can be used to receive
this data.
Related Programs:
IRIS_TO_PC
is an executable C program which runs on the Iris,
and receives data transmitted by the PC_TO_IRIS program.
Source Code:
List of Routines:
-
MAIN the main program.
-
BYTE2INT converts 4 bytes into an unsigned integer..
-
INT2BYTE converts an unsigned integer into 4 bytes.
-
SOCKET_LOCAL initializes the Windows Sockets API and creates a local socket..
-
SOCKET_REMOTE returns the address of a remote host from its name.
-
SOCKET_SEND sends data via the local socket to the remote port.
-
SOCKET_TERMINATE closes the local socket and terminates the Socket API.
You can go up one level to
the C source codes.
Last revised on 07 December 2007.