CLIENT_SOCKET_WRITE
|
Syntax: |
CLIENT_SOCKET_WRITE(<Handle>,<Data>)
|
||||
|
|
|
||||
|
Meaning: |
This function sends the data <Data> to the
client socked which is connected with the server socket. <Handle> is the identification number
returned by the function CLIENT_SOCKET. CLIENT_SOCKET_WRITE returns the value 0 if no
error occurred, otherwise –1. In the case of an error the variable ERRORTEXT$ contains the error report. |
||||
|
Parameter: |
|
||||
|
Sample: |
H% = CLIENT_SOCKET_WRITE(HANDLE%,DATA$) IF H% <> 0 THEN ERRORMES
= "Error " + ERRORTEXT$ ENDIF |
||||
|
See also: |
|