[Qt-interest] Qt C/S Model , howto detect each other ?

Aaron Lewis aaron.lewis1989 at gmail.com
Wed Apr 14 07:30:22 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
	I'm currently working on a C/S network game , does anyone has any
experiences on that ?

	My Game is like Counter-Strike , a host setup an server , and other
hosts can either be server or client.
	Unlike Savage , UrbanTerror or something else , there's no master
server , and further i use only one process.
	Which means once you setup an server , you are also the clients , but
you've got some privileges ;-)

	For Clients , How do i get to know if there's a serer on the same
network range ?

	So far i've got 2 ways , which i thought's not so good.

	I) Scan for ports .. bad on speed performances
	II) Send BroadCasts , any machine who can parse our packet is my friends

	Any other good ways ?

	Appreciate any of your ideas ;-)

	Thanks in advance !


- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvFUu4ACgkQvf41sEptMqBwrACeNicyxMzGQ/YJXa7yaVVaiKbn
QAsAnjc48FG7EJHHjFS5K4XRuHNRFvm1
=z0Xb
-----END PGP SIGNATURE-----



More information about the Qt-interest-old mailing list