beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 96

background image

Planning Your Application Program

ADAM5KTCP_SendReceiveUDPCmd

Chapter 6


Description:

Sends a command to ADAM-5000/TCP and receives

the response by UDP

Syntax:

int

ADAM5KTCP_SendReceiveUDPCmd(char
szIP[], char szSend[], char szReceive[]);

Parameters:

szIP[in]:

the IP Address of the ADAM-5000/TCP that send/

receive the command/response

szSend[in]:

the string in ASCII format that send to the ADAM-
5000/TCP

szReceive[out]:

the string in ASCII format that response from the
ADAM-5000/TCP



























ADAM-5000/TCP User’s Manual

























6-29