[DUG] Heartbeat packets
Ben Taylor
to_ben at yahoo.com
Sat Oct 15 12:57:26 NZDT 2005
technically, yes.
practically, preferably not.
udp is an unreliable protocol, so packets may be lost (especially on busy networks)
or may even be blocked at a router/firewall.
also has the downside of more code to write/maintain. firewalls would need 2 ports
opened instead of one. you'd have to have a link between the udp and tcp components
to detect the timeout and perform the disconnect.
you could just open 2 tcp connections, that would remove some of those issues. still
not as clean as a single connection though.
b.
> I was wondering, would UDP on the same port be ok for sending these
> "heartbeat" packets?
> What I am looking at here is that I can use the same port for TCP as for
> UDP.
>
> Wouldt this idea work ok?
>
> Jeremy
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.12.0/132 - Release Date: 13/10/2005
>
> > _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the Delphi
mailing list