Products Downloads


French version


 


This function is used to write a two-byte binary number array in the socket by carrying out a conversion into the standard TCP/IP encoding format (Big Endian encoding).


Context

  • Windows client,

  • Windows server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client,

  • Event Adelia client.


Parameters

NUM_BIN_4

Socket

Socket handle.

NUM_BIN_2(n)

Value

Array of values to write.

NUM_BIN_4

Len

Number of values array items.

NUM_BIN_4

ReturnCode

Operation return code:

0          Operation completed successfully

Other   Specific error code


Example

...


NUM_BIN_4

Socket

NUM_BIN_2

Data(10)

NUM_BIN_4

Len

NUM_BIN_4

Rc

...



CALL_DLL 'VATOOLBX.DLL' 'VaToolBxSockSendArrayNumBin2' Socket Data Len Rc


IF Rc = 0

   * successful sending

   ...


List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette