Writing TCP/UDP server and client in FWH

Writing TCP/UDP server and client in FWH

Postby modicr » Sat Nov 21, 2009 4: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!
User avatar
modicr
 
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia

Re: Writing TCP/UDP server and client in FWH

Postby Antonio Linares » Sat Nov 21, 2009 8:57 pm

Roman,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Writing TCP/UDP server and client in FWH

Postby modicr » Tue Nov 24, 2009 8: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!
User avatar
modicr
 
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia

Re: Writing TCP/UDP server and client in FWH

Postby Antonio Linares » Tue Nov 24, 2009 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Writing TCP/UDP server and client in FWH

Postby Davide » Wed Nov 25, 2009 5: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
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: Writing TCP/UDP server and client in FWH

Postby Antonio Linares » Wed Nov 25, 2009 6:28 pm

Davide,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests