Al methods that are used by BasexClient and QueryClass
new()Initialize a new socket
SocketClass$new(host, port = 1984L, username, password)
host, port, username, passwordHost-information and credentials
finalize()When releasing the session-object, close the socketConnection
SocketClass$finalize()
bool_test_sock()Return a boolean that indicates the result from the last action on the socket
SocketClass$bool_test_sock()
socketSocket-ID
void_send()Send input to the socket
SocketClass$void_send(input)
inputInput
Input is either a string or data that is read from a stream
str_receive()Read a string from a stream
SocketClass$str_receive(bin = FALSE)
binLogical; TRUE when str_receive has to retrieve binary data
write_Byte()Write 1 byte to the socket
SocketClass$write_Byte(Byte)
ByteA vector length 1
read_Byte()Read 1 byte to the socket
SocketClass$read_Byte()
get_socket()Get socket-ID
SocketClass$get_socket()
clone()The objects of this class are cloneable with this method.
SocketClass$clone(deep = FALSE)
deepWhether to make a deep clone.