Thread: Zone Threads
View Single Post
  #12  
Old 12-14-2003, 02:32 PM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

Actually the EQ Network layer never allows a packet more than ~550ish bytes, so could lower it to that. ;p (probably so that there would never be IP layer fragmentation on dialup connections) But it's irrelevent, no downside to having it oversized (wasting what, 1k per zone load? It's a static buffer the oversize isnt passed along).

Thinking about this, the fix is probably to change the socket to blocking mode and make another thread and leave it blocked on recv() forever. That's probably the linux way of handeling this, and should work on windows too - however i'm guessing it'll cause problems on zone shutdown getting that recv call to unblock for a reason other than incomming data.

And technically krich was right, ppp or pppoe frames != "ethernet frame". ;p
Reply With Quote