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?
Thanks 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@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. _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list