Re: Reading data from RS232 port

Michael Schnell <[email protected]> Sat, 03 Sep 2005 07:22:01 +0200
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
>It is really a good idea to learn how to do it. But not using a component is really a bad idea. Now
>that you've learned how to do serial I/O and sockets using Windows API, I hope you encapsulated your
>work into two components. That's better application design !
>--
>  
>

I think using a common API in a common tool (maybe consisting of several 
components) for sockets and serial I/O is a good idea. "Async pro" (by 
Torbopower, AFAIK a free download right now) did this years ago. In many 
cases hardware "ComServers" are used to do serial communication via 
TCP/IP. In future PCs will not have serial ports any more (OK they will 
be available via USB). So making the program in a way that it can use 
TCP/IP instead of a serial port if the user wants to change is a good thing.

-Michael.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Delphi-JEDI/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/