Server Question

Blitz3D Forums/Blitz3D Beginners Area/Server Question

Gauge(Posted 2005) [#1]
I'm using a tcp server, with the type player, when I update each player I use the simple:

for p.player=each player
writeline p\stream, info
next

Its fast, is their anyway to speed it up? Would a dll, or any another language be able to simultaenously*spelling* send each open game port a message? Would it be much faster if any. Is their a special server or whatever you call it that can do this?

note-curr 1400mhz emachine, i get around 175 ms to update
each player with players only, with mobs, etc it would probably be around 300. That is not including refresh.


Ross C(Posted 2005) [#2]
Try using UDP instead of TCP. UDP is alot quicker, but the packets aren't guareteed to reach where their going :o)


GfK(Posted 2005) [#3]
UDP is alot quicker, but the packets aren't guareteed to reach where their going :o)
Just like the Royal Mail, then?