home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,912 of 14,669   
   Mark Hounschell to Rick Jones   
   Re: Linux: stopping TCP i/o in progress    
   08 Nov 12 07:12:08   
   
   From: dmarkh@cfl.rr.com   
      
   On Wednesday, November 7, 2012 8:55:55 PM UTC-5, Rick Jones wrote:   
       
   > Perhaps by messing about with SO_LINGER first?  Either way, that   
   >    
   > isn't, I suspect, really what the OP was looking for anyway.   
   >    
      
   The more I think about it, since GB Ethernet is much faster than this legacy   
   device is anyway, what I can do is instead of attempting to send/recv the   
   whole requested count in one shot, which can be up to 64KW, which in turn will   
   be going in/out in    
   multiple packets anyway, I can just break it up into multiple send/recvs of   
   say 1500 bytes or so and in my loop check for the condition I'm concerned   
   about. When it occurs stop my loop. I would then have a reasonable residual   
   count and status to report    
   to the software layer.    
      
   Performance is not as critical as emulation accuracy.   
      
   Regards   
   Mark   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca