Loading...
Select Version
&pagelevel(3)&pagelevel
The SOCKETS(BS2000) user functions are described in a uniform format. The function descriptions have the same format as shown in section "Function name - brief description of the functionality".
Ensure the type conversion (Cast) is correct in ANSI mode to prevent compiler warnings. This applies in particular to the different socket structures (sockaddr, sockaddr_in, sockaddr_in6, sockaddr_iso):
To call a function use the general sockaddr structure.
Use the specific structure of the relevant address family to enter and read socket addresses.