mIRC Homepage

[DCC]confused about packet acknowledgement

Posted By: FreezerX

[DCC]confused about packet acknowledgement - 02/09/04 07:38 PM

Hi,
I am confused about the packet acknownledge by mIRC. Here you can see the control output after the invocation of the method for sending the packets of file. The first acknowledgement is ok, but the next ones are not. Why does mIRC acknowledege more packets than it was sent by my client?

sendFileData: 1
FileSize: 345948; lBytesAlreadySend: 4096; iBytesReceived: 4096
sendFileData: 2
FileSize: 345948; lBytesAlreadySend: 8192; iBytesReceived: 12288
sendFileData: 3
FileSize: 345948; lBytesAlreadySend: 12288; iBytesReceived: 20480
sendFileData: 4
FileSize: 345948; lBytesAlreadySend: 16384; iBytesReceived: 24576
sendFileData: 5
FileSize: 345948; lBytesAlreadySend: 20480; iBytesReceived: 32768
...

mIRC close the transfer before the whole file is sent, no idey why.
But receiving a file from mIRC is possible. I acknowledge the packets as it is described in the dcc-specification and send it as an unsigned 4 byte Integer in network order

Who can help me?

FreezerX

© 2021 mIRC Discussion Forums