unix_send (FUN)ΒΆ

FUNCTION unix_send : INT

send a message on a unix domain socket see manpage send

Returnvalue: On success, this call returns the number of bytes sent. On error, -1 is returned, and errno is set to indicate the error.

Internally, this function calls send() which returns of type ssize_t. This might be different to the return value of the IEC function unix_send, which is INT. Calling with length >= INT Max can lead to invalid return values of this function.

InOut:

Scope

Name

Type

Return

unix_send

INT

Input

sockfd

INT

buf

POINTER TO BYTE

len

ULINT

flags

INT