[icq-devel] file transfer steps
ggr at bak.rr.com
Tue Feb 4 05:40:19 CET 2003
12/31/2002 12:42:03 PM, rad2k <rad2k at mail.ru> wrote:
Don't lok like anyone has replyed and I just got file transfers working in GQ so here it goes.
Through main direct connection you recv PEER_MSG poacket with the connection and file info,
you should grab the info and ach the PEER_MSG then start a listening socket on the port specified
in the PEER_MSG packet. You will then recv connect on listening socket, following is on new connection.
IN <-: PEER_INIT
In <-: PEER_FILE_INIT
Out->: special PEER_INIT_ACK
In <-: special PEER_MSG
Out->: special PEER_INIT2
In <-: PEER_FILEDATA
until end of file
IN <-: PEER_FILEDATA
that's it. Reverse "In <-:" and "Out->:" to send a file.
Goto http://www.cobans.net/dc.html for a dump with comments on a file recv.
>Hey there, happy new year!.
>If anyone's awake and knows the correct sequence of p2p packets for
>Sending and Receiving files, could you show it to me?
>I've been in tadu's website but for p2p i cant seem to find a working sequence of commands.
>I need the correct sequence of packets I have to send/expect right after the
>p2p negotiation has been established.
>If anything has to go through the server, that too.
>Just the packet identifiers, i will sniff/find the rest of the packet data.
>Thank you verrrrrrrrrrrrrrrry much.
>happy new year once again.
>icq-devel - The forum for ICQ protocol discussion
>For unsubscribe and other mailing list info, see:
More information about the icq-devel