vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Sun May 19, 2013 1:11 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: rbuf.Overflow
PostPosted: Sun May 06, 2007 1:32 pm 
Cubic Root of 1

Joined: Sat Sep 16, 2006 4:00 pm
Posts: 290
Would it be a good idea to put an error handler in each sub that recieves packet that overflows the buffer so nothing is left in it?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 06, 2007 3:27 pm 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
Overflow is only used to make the buffer's read position higher so it looks like the packet is empty. Its just used on packets that have invalid information, but to cut out that information takes too much CPU usage (which would make it a good DOS packet, which we don't want). So not exactly sure how putting an error check will do much or help - maybe I'm missing something you're saying?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group