[Mono-list] C#/Mono Serial port communication

A Rafael D Teixeira rafael.teixeirabr@terra.com.br
Mon, 14 Feb 2005 17:17:22 -0200


Hi George, see inline:

On Wed, 2004-11-24 at 21:13, George Birbilis wrote:
> > No, I'm not trying this on Windows.
> 
> then why does the error trace say:
> 
> >>> Unhandled Exception: System.IO.IOException: Win32 IO returned 
> >>> ERROR_SEEK.
> >>> Path: /dev/rfcomm0
> 
> should it say "Win32 IO" or is it a "bug" too?

Mono returns the same Exceptions as .NET for I/O, and has a I/O Layer
that mimics the behaviour of Win 32 I/O, hence the very similar message.

HIH,

> 
> -----
> George Birbilis (birbilis@kagi.com)
> http://www.kagi.com/birbilis
> -------------- 

-- 
Rafael "Monoman" Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/