[Mono-dev] Mono C# Serial Port problem

Alan_Chun kokolee88 at hotmail.com
Thu May 15 10:49:33 EDT 2008

Hi Arek, 
That's the whole .cs file I have.
I know it looks strange but under mono, the data received event is not
working. That's why I create another thread to do data polling. Maybe you
have better ways to do that?


Arek Waliszewski wrote:
> Alan_Chun pisze:
>> HI, currently I am porting a windows app to linux using Mono. I have some
>> difficulties to get the serial port work. here is the code(based on mono
>> website):
> Could you post whole of your program.
> It looks like you are trying to open serial port in the main thread, 
> then create additional thread that reads something from the serial port, 
> while your main thread is sending something... It looks at least 
> weird... It looks bad.
> Regards,
> Arek
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

View this message in context: http://www.nabble.com/Mono-C--Serial-Port-problem-tp17241892p17255001.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list