test
"Martijn Kooij" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi,
>
> I only found a very old post on this topic, which was not clear enough for 
> me. So I hope you don't mind me posting the 'same' question again.
>
> At the moment I am implementing multiplayer in my PONG! (the game) 
> extension. This is currently done with a 'normal' TCP socket.
> The TCP socket tends to block up/slow down after sending quite a lot of 
> small packages, so I wanted to see if a UDP socket would hold up better.
> The packages are at most 32 bytes of game-data, and will at the moment be 
> sent at an interval of 33ms.
>
> As far as I could find on the net, there is no implementation of a UDP 
> transport available from javascript. The only post I found in this ng 
> explained a bit that one should register his own nsISocketProvider and 
> create that one when using CreateTransportOfType('my-socket-provider').
> A detailed (c++) sample is attached there, but the writer of that code 
> already says in his post that it's not likely that the code will work as 
> is.
>
> Both this interface, and function are quite poorly documented, and to make 
> it even worse, I am a Delphi guy, and not quite familiar with C++.
>
> Could anyone give me some help/directions on this?
>
> Best regards,
> Martijn Kooij
> http://www.captaincaveman.nl 


_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to