Writing TCP/UDP server and client in FWH

Post Reply
User avatar
modicr
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia
Contact:

Writing TCP/UDP server and client in FWH

Post by modicr »

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!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Writing TCP/UDP server and client in FWH

Post by Antonio Linares »

Roman,

Please review FWH\samples\sockserv.prg and sockcli.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
modicr
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia
Contact:

Re: Writing TCP/UDP server and client in FWH

Post by modicr »

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!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Writing TCP/UDP server and client in FWH

Post by Antonio Linares »

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
Davide
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: Writing TCP/UDP server and client in FWH

Post by Davide »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Writing TCP/UDP server and client in FWH

Post by Antonio Linares »

Davide,

Yes, you could do that using UDP :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply