I'm back on the list, with some questions, like always :)
I succeed to put my plugin on the gaim plugin repository :) If somebody
is interesting to try it.
Well I'm trying to implement the RVP file transfert. It uses the MSNFTP
During a file transfert the person who wants to receive a file connects
directly on the person who wants to send a file. I succeed to implement
the send functions. So right now with my plugin you can send a file. But
I got some problems to receive a file.
The RVP file transfert works in this way :
You send an Invitation.
You connect on a computer.
You send a header.
- The protocol used
- The user and a cookie
- The file size
You send the file.
You send the close connection.
So I used the following functions :
xfer = gaim_xfer_new(hc->gc->account, GAIM_XFER_RECEIVE,
The gaim_xfer_set_init_fnc permits to send the invitation.
The gaim_xfer_set_read_fnc permits to send the header, the file and the
But the time between the socket opened and the first parameter header
sent is 29.733403 (ethereal time unit value) In this time, the server (a
window RVP client) closed the connection, because I supposed that it was
too long. So I can't receive the file.
If I use the microsoft client, the time between the socket opened and
the first parameter header sent is 0.000353. It's much more shorter...
If I sent my headers in the connect_cb function in the file ft.c. So
just after the opened socket, the time is .000464. And in this case it
So I'm asking this question. Is there a way to have a call back before
begin_transfert, like gaim_xfer_set_header_fnc. I think that the time is
eaten when in begin_transfert, we open a file descriptor.
Any other sugestion would be welcome !!
An another one is what's the difference between
gaim_xfer_set_request_denied_fnc and gaim_xfer_set_cancel_recv_fnc.
I hope my mail is clear... If you want another details (like the
ethereal files), don't hesitate to send me an email.
Thanks for all your help, my plugin is beginning to work well!! I hope I
can implement the receive files functions.
() Campagne du ruban ASCII -- Contre les mails en html
/\ contre les pieces-jointes Microsoft