Author | Message | Time |
---|---|---|
soccerist | 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. | July 20, 2004, 12:11 PM |
iago | 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. | July 20, 2004, 12:23 PM |
hismajesty | 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. | July 20, 2004, 1:30 PM |
tA-Kane | 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. | July 20, 2004, 4:09 PM |
KkBlazekK | How can you kill a null packet? its almost dead as it is... | July 20, 2004, 5:49 PM |
Spht | [quote author=Kk)Blaze(kK link=board=17;threadid=7775;start=0#msg71512 date=1090345784] How can you kill a null packet? its almost dead as it is... [/quote] TTL=0? | July 20, 2004, 6:00 PM |
tA-Kane | [quote author=tA-Kane link=board=17;threadid=7775;start=0#msg71498 date=1090339778]Battle.net is killing your connection[/quote][quote author=Kk)Blaze(kK link=board=17;threadid=7775;start=0#msg71512 date=1090345784]How can you kill a null packet?[/quote]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. | July 22, 2004, 5:39 PM |