[Mono-devel-list] tty0 or COMM1 question

Jonathan Pryor jonpryor at vt.edu
Wed Jun 2 06:39:40 EDT 2004


On Tue, 2004-06-01 at 22:28, Mauricio Henriquez wrote:
> Someone know how to work with the serial port with mono??. I have a
> workin VB .NET - COMM aplication, but it use windows-API calls, so is
> not possible to work on linux.

I would imagine you just open the appropriate device for reading or
writing.  For reading, open /dev/ttyS0, and for writing open /dev/cua0.

See also:


Additional serial port functions, such as the POSIX termios functions,
should be exposed by Mono.Posix.  (If they aren't, please let us know). 
Check out the termios(3) man page.

 - Jon

More information about the Mono-devel-list mailing list