Struct skylane::client::Socket [] [src]

pub struct Socket { /* fields omitted */ }

Structure representing connection between server and client.

Methods

impl Socket
[src]

Connects to display socket.

Connects to display socket on default path.

See get_default_socket_path.

Returns raw file descriptor.

Increments and return next serial.

Sets logger.

Returns logger.

Reads from sockets.

Writes data read from socket to passed buffers. bytes is used for raw data and fds is used for file descriptors.

Returns number of bytes written to bytes and number of file descriptors written to fds.

Writes given data to socket.

Writes given data to socket.

Trait Implementations

impl Clone for Socket
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more