FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Writing TCP/UDP server and client in FWH
Posts: 207
Joined: Fri Oct 07, 2005 07:58 AM

Writing TCP/UDP server and client in FWH

Posted: Sat Nov 21, 2009 04:00 PM

Hello!

How to write TCP/UDP daemon and client in Fivewin/Harbour? BTW, I use IP*Works VCL in Delphi:

http://www.nsoftware.com/products/compo ... aemon.aspx

http://www.nsoftware.com/products/component/ipport.aspx

http://www.nsoftware.com/products/compo ... pport.aspx

Thanks, Roman

© I'm not patented!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Writing TCP/UDP server and client in FWH

Posted: Sat Nov 21, 2009 08:57 PM

Roman,

Please review FWH\samples\sockserv.prg and sockcli.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 207
Joined: Fri Oct 07, 2005 07:58 AM

Re: Writing TCP/UDP server and client in FWH

Posted: Tue Nov 24, 2009 08:49 AM
Hello!

Antonio Linares wrote:Please review FWH\samples\sockserv.prg and sockcli.prg


CMIIW, but this is only for TCP/IP connections ?

Regards, Roman
© I'm not patented!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Writing TCP/UDP server and client in FWH

Posted: Tue Nov 24, 2009 09:25 AM

Roman,

Current FWH Class TSocket is managing TCP connections only. But we are currently finishing a modified Class TSocket version that also manages UDP connections.

We may have it ready in a few days. You could start using TCP and then use UDP when we finish our changes and also provide a test :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 190
Joined: Tue Mar 14, 2006 01:59 AM

Re: Writing TCP/UDP server and client in FWH

Posted: Wed Nov 25, 2009 05:56 PM
Antonio,
Antonio Linares wrote:we are currently finishing a modified Class TSocket version that also manages UDP connections.

could it be used to broadcast messages on a LAN ?
If so, it would be a great addition for me.

Thanks,
Davide
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Writing TCP/UDP server and client in FWH

Posted: Wed Nov 25, 2009 06:28 PM

Davide,

Yes, you could do that using UDP :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion