Interesting! The author of that Serial-Programming-HOWTO (Gary
Frerking) and I worked together many years on Async Professional by
TurboPower. You can discover more about that library (for Delphi and
C++ Builder) at these two pages:
http://www.turbocontrol.com/TPSupport.htm
http://www.turbocontrol.com/APro.htm
The "SimpleSerial" example on this page is very simple to compile and
test as the files continue everything needed including the compiler:
http://www.turbocontrol.com/monitor.htm
I hope to add simple Ethernet examples to that project. It should be
easy since the same library that I'm using for the serial comm also
supports Ethernet.
PeterElliot wrote:
> Hi Santhosh,
>
> You should be able to read the serial port by opening the relevant serial
> port using and then read characters into a buffer and then use ethernet
> sockets to send the data via UDP or TCP.
>
> Here are a couple of links to get you started.
>
> Serial programming: http://tldp.org/HOWTO/Serial-Programming-HOWTO/
>
> Socket programming: http://beej.us/guide/bgnet/
>
> Hope this helps,
>
> PJE
>
>
>
> --- In "Sandhosh" <> wrote:
>> hai,
>>
>> i have TS7400 i need to read the data from micro controller in RS232
>> format and also have to send that data to pc via Ethernet. what i decided
>> simply we send the data thro Ethernet using socket programming.is it right
>> if it is right means kindly tel me how to use that
>>
>>
>> regards,
>> santhosh
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|