If libssh2_poll() is depreciated, what is the correct way to deal with this:
If input is available on the session's socket, how do you figure out which channels now have input that needs to be read? libssh2_channel_read() every one? Also what if these bytes coming in from the socket are not for a channel at all? I see how libssh2_session_callback_set() would let you trap some non-channel events, but how would one tell the session that now is the time to read from the socket? Does this just happen behind the scenes when polling each channel? What if there are no channels? -- www.thomasstover.com _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
