Products Downloads


French version


 

 

This function is used to write binary numerical data on two bytes in the socket, by performing a conversion of data from the standard TCP/IP encoding format (Big Endian code).

 

Context

  • Windows client,

  • Windows server,

  • Mobile client,

  • Mobile server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client.

 

Parameters

NUM_BIN_4

Socket

Socket handle.

NUM_BIN_2

Value

Value to write.

NUM_BIN_4

ReturnCode

Operation return code:

0          Operation completed successfully

Other   Specific error code

 

Example

...

 

NUM_BIN_4

Socket

NUM_BIN_2

Data

NUM_BIN_4

Rc

...

 

 

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxSockSendNumBin2' Socket Data Rc

 

IF Rc = 0

   * sending successful

   ...

 

List of the VaToolBx functions by topic

 

↑ Top of page

  • Aucune étiquette