I would like to help my client integrate his xHarbour-based business logic with other (non-xHarbour) applications. To do this, I would like to create a server that would receive messages from client apps to trigger object methods, wrap the replies in XML and return them to the client.
I would like to receive and send the messages via TCP/IP. Can anyone provide ideas on what xHarbour/FiveWin functions I can use, and does anyone know of any sample code with similar functionality?
Carlo
Ideas for creating a server?
- Biel EA6DD
- Posts: 682
- Joined: Tue Feb 14, 2006 9:48 am
- Location: Mallorca
- Contact:
Hi Carlo,
I was thinking also in the way to create a server. I can 't help you because for the moment is just an idea, but if I do anything we can share the experience in the future.
Take a look to sockcli.prg and sockserv.prg in the samples directory of FWH. You will see how to send and recive messages via TCP/IP.
Regards.
I was thinking also in the way to create a server. I can 't help you because for the moment is just an idea, but if I do anything we can share the experience in the future.
Take a look to sockcli.prg and sockserv.prg in the samples directory of FWH. You will see how to send and recive messages via TCP/IP.
Regards.