Function silc_fd_stream_create2
SYNOPSIS
SilcStream silc_fd_stream_create2(int read_fd, int write_fd);
DESCRIPTION
Creates file descriptor stream for the open file descriptors indicated
by `read_fd' and `write_fd'. The `read_fd' must be opened for reading
and `write_fd' opened for writing. The stream is closed with the
silc_stream_close and destroyed with the silc_stream_destroy.
If the silc_stream_set_notifier is called the stream is set to
non-blocking mode.
|