http://git.community.i2p/PurpleI2P/i2pd/commit/959fda341a41acf6c6615d67e9a9b770a0bf68b5
GetIdentHash ( ) ) ; if ( leaseSet ) { m_SocketType = eSAMSocketTypeStream ; m_Stream = i2p : : stream : : CreateStream ( * leaseSet ) ; m_Stream - > Send ( ( uint8_t * ) m_Buffer , 0 , 0 ) ; // connect StreamReceive ( ) ; session - > sockets . push_back ( this ) ; SendMessageReply ( SAM_STREAM_CONNECT_REPLY_OK , sizeof ( SAM_STREAM_CONNECT_REPLY_OK ) , false ) ; } else { i2p : : data : : netdb .