[Haskell-cafe] ByteString questions
Galchin, Vasili
vigalchin at gmail.com
Thu Feb 26 23:58:48 EST 2009
i.e. protocol events seem to "leak" into an application => yuck
On Thu, Feb 26, 2009 at 10:57 PM, Galchin, Vasili <vigalchin at gmail.com>wrote:
> I already looked at MSDN examples and am not seriously enccouraged ;^(
>
> Vasili
>
>
> On Thu, Feb 26, 2009 at 10:51 PM, Brandon S. Allbery KF8NH <
> allbery at ece.cmu.edu> wrote:
>
>> On 2009 Feb 26, at 23:45, Galchin, Vasili wrote:
>>
>> I have forgotten about RS232 protocol. Can I just reads and writes
>> from the RS232 device from an application to handle data? Or do I need to
>> handle RS232 protocol events in the application?
>>
>>
>> Usually the OS handles protocol events, although you have to tell it what
>> kind of events matter (carrier? does it use hardware flow control, ^S/^Q, or
>> ETX/ACK?) I suggest heading to MSDN and digging up documentation on how
>> serial devices work on Windows.
>>
>> --
>> brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
>> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
>> electrical and computer engineering, carnegie mellon university KF8NH
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090226/95ac0479/attachment.htm
More information about the Haskell-Cafe
mailing list