file transfer
From: "Martin Acevedo" <acevedoma@xxxxxxxxxxx>
Date: Wed, 4 Jul 2007 21:14:33 +0200 (CEST)
hello !! I downloaded Latest stable version 0.9.2 of the library and I could receive file transfer from spark->wildfire->gloox, now I have a little problem sending files,
I make a call to the function

f->requestFT( m_to, m_filename m_size );

and when I accept the transfer in the other party(spark and also with gloox), then the stack calls the function

virtual void handleFTSOCKS5Bytestream( SOCKS5Bytestream* s5b )
{
        printf( "received socks5 bytestream\n" );
        m_s5b = s5b;
        m_s5b->registerSOCKS5BytestreamDataHandler( this );

        if( m_s5b->connect() )
        {
                printf( "ok! s5b connected to streamhost\n" );
        }
}

but it cannot connect, m_s5b->connect() always returns false.... with a bit debug I found that withing the connect() funcion m_connections is a null pointer

bool SOCKS5Bytestream::connect()
{
   if( !m_connection || !m_socks5 || !m_manager )
     return false;
........

what could be happend? I think the server is fine since I can send files from spark to gloox (via wildfire)
I use latest stable version, compiled with vs.net 2005.....

thank you very much......

_________________________________________________________________
¿Cuánto vale tu auto? Tips para mantener tu carro. ¡De todo en MSN Latino Autos! http://latino.msn.com/autos/