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,902 of 14,669   
   Mark Hounschell to All   
   Linux: stopping TCP i/o in progress with   
   06 Nov 12 10:27:02   
   
   From: dmarkh@cfl.rr.com   
      
   Is it possible? Let me explain. I'm trying to emulate a non Ethernet oriented   
   legacy I/O controller and its legacy device using Ethernet/TCP. An application   
   on one machine (server) being the device and another application on another   
   machine as the legacy    
   I/O controller. As far as data xfers go, all works fine.    
      
   However, this legacy controller had the ability for any R/W data transfer "in   
   progress" to be stopped/halted, immediately, by simply setting a bit in a   
   register via a MMAP'd write. When it halted, it would post status indicating   
   it was asked to stop, and    
   provide a residual count of the xfer.     
      
   I've looked at the aio interface and it appears it might do what I need but is   
   glibc oriented and just uses threads to achive it's goal. This application is   
   RT in nature and I can't afford having a bunch of threads around that I have   
   no control over. In    
   fact I don't even know for sure that the aio interface will actually let me   
   stop an I/O "in progress". It may only be able to remove I/O that is queued   
   and not I/O that has actually started???   
      
   Is this sort of thing possible in current x86 hardware running Linux?   
      
   Thanks   
   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