Ideas for creating a server?

Post Reply
Carlo Stonebanks
Posts: 17
Joined: Tue Apr 10, 2007 11:10 pm

Ideas for creating a server?

Post by Carlo Stonebanks »

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
User avatar
Biel EA6DD
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca
Contact:

Post by Biel EA6DD »

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.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
Post Reply