MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / GetSocket

Method GetSocket

Src/SSH/ChannelSSHTunnel.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int CChannelSSHTunnel::GetSocket()
49{
50 if(m_Session)
51 return ssh_get_fd(m_Session);
52 return SSH_INVALID_SOCKET;
53}
54
55void CChannelSSHTunnel::OnClose()
56{

Callers 2

OnInitMethod · 0.80
OnLayerWaitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected