Jetter JC-120MC User Manual page 493

Table of Contents

Advertisement

JC-120MC
Functioning principle
with a TCP/IP connection
Using this function with
a UDP/IP client
Functioning principle
with a UDP/IP client
Related topics
Jetter AG
When using TCP/IP, data are sent via a previously opened connection.
Therefore, specification of the IP address and IP port number is not required
anymore and can be ignored in the function.
In the following cases, the task is not processed further after issuing the
function call:
The data have been sent and their reception confirmed.
An error has occurred.
If, with a client, data are to be sent via a UDP/IP connection, you can invoke
the function and assign the return value of a variable for further evaluation as
follows:
Result := ConnectionSendData(hConnection,
With UDP/IP there is no connection between two given network clients.
Therefore, with each function call data can be sent to another client or another
port. The task will pause at the function call until the data are sent.
You will not get any acknowledgment of the remote network client having
received the data.
Initializing the user-programmable IP interface (see page 487)
Establishing a connection (see page 488)
Terminating a connection (see page 497)
Receiving data (see page 494)
IP#192.168.75.123,
46000,
SendBuffer,
SendLen);
Programming
493

Advertisement

Table of Contents
loading

Table of Contents