SendOutOfBandToSpecificClient Method

Overview

Type:

Method

Available as of:

V1.0.4.0

G-SE-0045933.2.gif-high.gif

 

 

Task

Send OutOfBand data only to a specific client, identified by its IP and port.

Functional Description

Sends OutOfBand data only to a specific client, identified by its IP and port. Returns the number of bytes sent to the remote site as UDINT.

For additional information about the send methods, refer to section Send Method.

Interface

Input

Data type

Valid range

Description

i_sClientIP

STRING(15)

-

IP address of the connected client the data is to be sent to.

i_uiClientPort

UINT

1 ... 65535

Source port of the connected client the data is to be sent to.

i_pbySendBuffer

POINTER TO BYTE

-

Start address of the buffer that holds the data to be sent.

In_Out

Data type

Valid range

Description

iq_udiFillLevel

UDINT

1

Fill level of the application-supplied buffer before the operation. Set this to 1. It will be still 1 after the operation if not all data could be sent.

Used by

oFB_TCPServer