Article View: borland.public.cppbuilder.nativeapi
Article #3589Re: Port sharing/splitting?
From: Eric Noel
Date: Thu, 18 May 2006 15:29
Date: Thu, 18 May 2006 15:29
16 lines
2024 bytes
2024 bytes
Zahir wrote: > Sure this should work. But as you put it, Low-tech method!...and since i have this feeling that it is possible to get this data from the com port buffer somehow....there should be another way out (i have seen some commercial port splitting softwares such as the one from Eltima) I don't think there is any way to tap into the serial port the way you want. Besides the 'low tech' method, I believe the only 'high tech' method is pretty much the same. Create a virtual port, log the data as it comes in, and then forward it on to the real port. Creating a virtual serial port is not trivial, so if this is a one-off job, I'd use the low tech method. You don't need another PC though, just hook up 2 usb serial port adapters (about $20 each), hook up a null modem cable from the original port to one of the new ports. Write a simple app to read from the new port, log, and forward off to the second new port. - Eric
Technical Details
Message-ID:
<446c9395$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com> <ufkm62pun3ckvo6qmhjhbmce35mqdeb2rd@4ax.com> <446c18e1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,377c765ac90d6829 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 18 May 2006 08:29:51 -0700 From: Eric Noel <eric.no@spam.rcs100.com> User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Port sharing/splitting? References: <4464ade6$1@newsgroups.borland.com> <446b06f4$1@newsgroups.borland.com> <ufkm62pun3ckvo6qmhjhbmce35mqdeb2rd@4ax.com> <446c18e1$1@newsgroups.borland.com> In-Reply-To: <446c18e1$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 207.224.24.86 Message-ID: <446c9395$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147966357 207.224.24.86 (18 May 2006 08:32:37 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail