mIRC Home    About    Download    Register    News    Help

Print Thread
#59362 06/11/03 09:24 PM
Joined: May 2003
Posts: 19
M
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 19
I am building an app in java that received DCCs but I'm having alot of trouble making mirc understand the msg I'm sending back stating the bytes received. I'm doing the following which I think matches the what's been previously said on this forum: taking the number of bytes read, eg. 4096 and converting it to "shortip" format via a (working) method that returns an IP type number. I then write each section (tokenized by '.') as an Integer to the stream and send. mIRC doesn't like it. I've spent hours trying different methods. Here is an example of what would be written for 4096 (as integers):
0
0
16
0

Is that right? and if not does anyone know what it should be and how to get there plz?

Joined: May 2003
Posts: 19
M
Pikka bird
OP Offline
Pikka bird
M
Joined: May 2003
Posts: 19
I've done it, u had to send back the total number of bytes received, not just that of the last packet.


Link Copied to Clipboard