¡@

Home 

c++ Programming Glossary: write_set

Example code of libssh2 being used for port forwarding

http://stackoverflow.com/questions/1580750/example-code-of-libssh2-being-used-for-port-forwarding

1 int last_socket_err 0 int other_port 0 fd_set read_set write_set SOCKET sshsock socket AF_INET SOCK_STREAM 0 iretval connect.. buf MAX_BUF_LEN if bytes_read 0 FD_ZERO read_set FD_ZERO write_set FD_SET local_sock write_set wait until the socket can be written.. 0 FD_ZERO read_set FD_ZERO write_set FD_SET local_sock write_set wait until the socket can be written to while select 0 read_set..