Ideas for creating a server?

Ideas for creating a server?

Postby Carlo Stonebanks » Tue Jun 26, 2007 3: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
Carlo Stonebanks
 
Posts: 17
Joined: Tue Apr 10, 2007 11:10 pm

Postby Biel EA6DD » Thu Jun 28, 2007 7: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/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: SantaCroya and 93 guests