GNet

Blitz3D Forums/Blitz3D Programming/GNet

I am a little confused by GNet because using the TCP/IP stream commandset that implements well with GNet I get considereable latency on the host machine: 150fps down to 5fps, I think when there is no data in the stream there is a delay, and detecting for data with the EOF(stream) command doesnt seem to help solve matters.

In trying to use the DirectPlay command set I must first use the StartNetGame command - which is absolutely brilliant for LAN games, but does not integrate with GNET.

Is there any one here who is able to offer me some guidance on this please?

I am happy to post my code, but dont know how to make a code window on these forums, or indeed a quoted section either?

Use the stream command ReadAvail to make sure your read commands won't block. Check this site's faq for posting code blocks.

That did the ticket! Thank you very much Skidracer ;). Top Man.