Keep in mind that those are limited to Windows (and linux/x86 at best if you are desperate).Originally Posted by Brainer
For something portable you need lnet/indy10/synapze
Keep in mind that those are limited to Windows (and linux/x86 at best if you are desperate).Originally Posted by Brainer
For something portable you need lnet/indy10/synapze
I didn't know Indy10 works on Linux. :shock:
It works on OS X, FreeBSD and WinCE too.Originally Posted by Brainer
Reliable, in order UDP packets? with error correction? that's a great idea! lets do it!! oh wait...
no sorry sorry, my bad, just checked up on TCP. turns out it does that already *sigh*
nah seriously, there are advantages in terms of the routing of UDP packets and when dealing with a high volume of connections but using both TCP and UDP at the same time would give you far less headaches, send player movements and the such over UDP and reliable stuff over TCP. World of warcraft only uses TCP suprisingly and City of heros uses the tcp/udp hybrid method.
When the moon hits your eye like a big pizza pie - that's an extinction level impact event.
Using TCP and UDP together is fine as long as you bear in mind that a TCP send is greedy. More common is to simulate the favourable properties of TCP so as to keep control over bandwidth.
Currently i am using indy10 with freepascal un linux creating an webserver that can can server pages/files using remobjects pascalscript and sqlite.
Indy 10 for freepascal: http://www.indyproject.org/sockets/fpc/index.en.aspx
Documentation: http://www.indyproject.org/Sockets/Docs/index.EN.aspx do check out the online documenation.
Demos:
http://www.indyproject.org/Sockets/Demos/index.EN.aspx
More Demos:
http://www.atozed.com/indy/demos/10/index.EN.aspx
Regarding your using tcp-server/client with tstreams see this post:
http://borland.newsgroups.archived.a...050206552.html (no need to use tbytes directly)
http://3das.noeska.com - create adventure games without programming
Bookmarks