Hi, I'm trying to use a H323FileTransfer classes, but does not work
How can i do it?
Please help me! if only one small example...
How to use H323FileTransfer classes?
Re: How to use H323FileTransfer classes?
In the code, add capability
H323FileTransferCa pability mcap;
mcap.SetCapability Direction(H323Capability::e_ReceiveAndTransm it);
AddCapability(mcap);
then this capability, create a channel
H323FileTransferCh annel *cn = mcap.CreateChannel(connection, H323Channel::IsTransmitter, mcap.GetDefaultSes sionID(), NULL);
cn->Start();
and catch "Write error on data port (22)" in rtp.cxx
Why is this possible?
H323FileTransferCa pability mcap;
mcap.SetCapability Direction(H323Capability::e_ReceiveAndTransm it);
AddCapability(mcap);
then this capability, create a channel
H323FileTransferCh annel *cn = mcap.CreateChannel(connection, H323Channel::IsTransmitter, mcap.GetDefaultSes sionID(), NULL);
cn->Start();
and catch "Write error on data port (22)" in rtp.cxx
Why is this possible?
Re: How to use H323FileTransfer classes?
Error 22 is invalid argument when opening the socket. The RTP socket for filetransfer should no different to any other socket for RTP.
H323 file transfer is really prototype code and should be handled that way. Improvements are definitely welcome,
H323 file transfer is really prototype code and should be handled that way. Improvements are definitely welcome,
Re: How to use H323FileTransfer classes?
Thanks for the answer!shorne wrote:Error 22 is invalid argument when opening the socket. The RTP socket for filetransfer should no different to any other socket for RTP.
H323 file transfer is really prototype code and should be handled that way. Improvements are definitely welcome,