¡@

Home 

c++ Programming Glossary: local_sock

Example code of libssh2 being used for port forwarding

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

inet_addr 127.0.0.1 localhost.sin_port htons 5900 SOCKET local_sock socket AF_INET SOCK_STREAM IPPROTO_TCP ioctlsocket local_sock.. socket AF_INET SOCK_STREAM IPPROTO_TCP ioctlsocket local_sock FIONBIO mode iretval connect local_sock sockaddr localhost sizeof.. ioctlsocket local_sock FIONBIO mode iretval connect local_sock sockaddr localhost sizeof localhost if iretval SOCKET_ERROR..