Yeah, well to be honest, this is usually going to be on a VPN or an internall network, so firewalls wont be too much of an issue. I figure if Ican get it "stable" over the internet, its gotta be pretty table in a VPN and internal networking situation :-)
Jeremy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Taylor Sent: 15 October 2005 12:57 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Heartbeat packets 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 > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi > Send instant messages to your online friends http://au.messenger.yahoo.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.0/134 - Release Date: 14/10/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.0/134 - Release Date: 14/10/2005 _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
