FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Ideas for creating a server?
Posts: 17
Joined: Tue Apr 10, 2007 11:10 PM
Ideas for creating a server?
Posted: Tue Jun 26, 2007 03:11 PM

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

Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
Ideas for creating a server?
Posted: Thu Jun 28, 2007 07:30 AM

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/

Continue the discussion