Planning Your Application Program
ADAM5KTCP_UDPOpen
Chapter 6
Description: Opens a UDP socket and sets the timeout of send/
receive interval to prepare send a
command to ADAM-5000/TCP by UDP.
Syntax: int ADAM5KTCP_UDPOpen(int iSendTimeout, int
iReceiveTimeout);
Parameters:
iSendTimeout[in]: the specified timeout interval for sending a
command string to the ADAM-5000/TCP by UDP.
iReceiveTimeout[in]: the specified timeout interval for receiving a
re- sponse string from the ADAM-5000/TCP by
UDP.
Return: Please refer to Chapter 6-2-4 “Return Codes” for more
detail information.
ADAM-5000/TCP User’s Manual
6-27