Page 1 of 1

Ideas for creating a server?

Posted: Tue Jun 26, 2007 3:11 pm
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

Posted: Thu Jun 28, 2007 7:30 am
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.