PDA

View Full Version : Send and receive messages over TCP/IP connection



Scott Martin
27-Sep-2005, 03:28 PM
I have a DF32 application running in console mode. It needs to send and
receive HL7 messages through a TCP/IP connection. Anyone know how to get my
app to recognize that a message is coming in? And how do I send a message?

Scott Martin

starzen
27-Sep-2005, 07:40 PM
HL7 is quite a complex protocol. You may be better off looking at ready to
use products instead of writing your own.

As far as incoming TCP messages you need to set up a TCP listener that
listens to a given port. Best way to do this in VDF is to use a TCP active X
control


--
Michael Salzlechner
StarZen Technologies, Inc
http://www.starzen.com
DataFlex Addon products, consulting

starzen
27-Sep-2005, 07:42 PM
Scott

sorry just realized you are in CM not VDF so ActiveX controls are a no go.


In CM either use an existing HL7 comm product that converts the msgs into
ascii or something like that or write your own using VDF or some other
windows language that you can then interface with somehow.


--
Michael Salzlechner
StarZen Technologies, Inc
http://www.starzen.com
DataFlex Addon products, consulting

Dan OLeary
6-Oct-2005, 10:07 AM
Scott,

I have done plenty of TCP-ip socket work... in VDF...


When I was running character based flex we setup a separate PC (aka HL7
server) and had
the client app write strings to a dataflex file('s) and ...then all the
communications (in and outgoing)
were handled by a separate PC running VDF...

We used mabry software for the active-x control ... www.mabry.com


HTH
~Dan

"Scott Martin" <smartin@practiceresource.com> wrote in message
news:VQz8KI6wFHA.1276@dacmail.dataaccess.com...
> I have a DF32 application running in console mode. It needs to send and
> receive HL7 messages through a TCP/IP connection. Anyone know how to get
my
> app to recognize that a message is coming in? And how do I send a
message?
>
> Scott Martin
>
>