After a fairly long period of inactivity on the connection, I send a SID_NULL packet, (4 bytes). The server doesn't seem to like that. I get rc == 0 for the recv numerous times as it poops out. Any ideas?
I am using C++ ( g++ compiler in Linux ).
Thanks.
The server shouldn't mind, if you aren't doing something stupid while sending it. The real game client sends SID_NULL every 60 seconds or so, iirc.
SID_NULL can be sent without penalty at any interval, or not at all - it's only required in games and is sent every sixty seconds.
Try private messaging yourself after you send 0x00; this should cause Battle.net to at least echo your message. If you still receive no data, then you know that your 0x00 packet send is likely damaged (or perhaps some other packet being sent is damaged, and you don't notice it until you send 0x00?), and Battle.net is killing your connection because of that.
How can you kill a null packet? its almost dead as it is...
Quote from: Kk)Blaze(kK on July 20, 2004, 12:49 PM
How can you kill a null packet? its almost dead as it is...
TTL=0?
Quote from: tA-Kane on July 20, 2004, 11:09 AMBattle.net is killing your connection
Quote from: Kk)Blaze(kK on July 20, 2004, 12:49 PMHow can you kill a null packet?
I should dig up some of my old school grade cards, scan them into the computer, and photochop in "Paying attention: F, needs improvement"
Unfortunately, I don't have a scanner nor am I good with photochopping. :(
Oh well.