Sock_get()
Description: |
API procedure, returns a free socket number or 255 if no free sockets left. |
Syntax: |
function sock_get(byref signature as string) as byte |
Returns: |
The number of the unused socket or 255 if all sockets are in use. |
See Also: |
Part |
Description |
signature |
A string with a short description of the socket's purpose. You may leave the signature empty, too. |
Details
Set SOCK_MAX_SIGNATURE_LEN to anything above 0 in order to be able to use signatures.