Reads a bank from the specified socket. If the bank already exists, it will be removed and a new one created of the correct size.
UDP
The command will read an entire datagram into a bank, creating the bank or replacing it as necessary. If a zero-sized datagram is received, then a bank will not be created. (NOTE: You can send a zero-sized datagram by either using the low-level SEND SOCKET( ) or SEND TO SOCKET( ) functions, or by transmitting an empty string with the SEND SOCKET STRING( ) function)
Returns the number of bytes recieved, or -1 if an error occurred. |