|
From: Hedayat V. <hed...@gm...> - 2010-11-10 00:20:37
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
<span>
<style type="text/css">blockquote {color: navy !important; background-color: RGB(245,245,245) !important; padding: 0 15 10 15 !important; margin: 15 0 0 0; border-left: #1010ff 2px solid;} blockquote blockquote {color: maroon !important; background-color: RGB(235,235,235) !important; border-left-color:maroon !important} blockquote blockquote blockquote {color: green !important; background-color: RGB(225,225,225) !important; border-left-color:teal !important} blockquote blockquote blockquote blockquote {color: purple !important; background-color: RGB(215,215,215) !important; border-left-color: purple !important} blockquote blockquote blockquote blockquote blockquote {color: teal !important; background-color: RGB(205,205,205) !important; border-left-color: green !important}</style><i><b>Oliver
Obst <a class="moz-txt-link-rfc2396E" href="mailto:oli...@gm..."><oli...@gm...></a></b></i> wrote on 11/09/2010
10:40:18 AM +0350:</span><br>
<blockquote style="color: navy; background-color: rgb(245, 245,
245); padding-left: 15px; border-left: 2px solid rgb(16, 16,
255);" cite="mid:528...@gm..."
type="cite">Hi Hedayat and all,
<div><br>
<div>
<div>On 07/11/2010, at 9:59 AM, Hedayat Vatankhah wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="direction: ltr;" bgcolor="#ffffff"
text="#000000"> Hi all (specially veterans!),<br>
One of the items in our wish list which has sit there for
a long time is this: "Replace networking code with sth.
like RakkNet"<br>
I'd like to know what are the desired features of the
replacement?! In fact, I'm interested in replacing the
current network code with a code using Boost's Asio; but
I'm not sure if it has the desired properties. I'm
thinking about different ways I can finish the proposed
"Agent Proxy" code and one of them is using this library.
So I thought that it might be a good replacement for
rcssnet and decided to ask about the intended properties
of the replacement code.<br>
</div>
</blockquote>
<div><br>
</div>
<div>if I remember correctly the features that we had in mind
were some higher level abstraction, but also some nice
performance: e.g., raknet had / has something like UDP-based
connections without giving up all guarantees of TCP
connections. </div>
<div>(the reasoning was somehow if it's used in computer games
performance can't be too bad).</div>
</div>
</div>
</blockquote>
I'm not sure, but I think many games usually consider losing some
packets in order non-problematic. On the other hand, considering
that we usually use the simulator in isolated networks (at least for
competitions!), we'll probably have a reliable UDP data transfer
(except if an agent deliberately tries to increase UDP traffic). I
wonder if there are other opportunities to improve performance of
networking code. <br>
AFAIK, Asio does not provide any extra protocols over UDP; so if
this property is desired it would not help. Asio does provide some
higher level abstraction (which is why I'm interested in) but I'm
not sure about the performance improvements. Specially if we want to
go with UDP, it provides only UDP and no extra protocols over what
rcssnet provides. It might have some positive effects when using
asynchronous operations though considering how it handles them, but
I'm not sure.<br>
<br>
<blockquote style="color: navy; background-color: rgb(245, 245,
245); padding-left: 15px; border-left: 2px solid rgb(16, 16,
255);" cite="mid:528...@gm..."
type="cite">
<div>
<div>
<div><br>
</div>
<div>At the time I wasn't aware of boost Asio (possibly
because it didn't exist back then). <br>
</div>
</div>
</div>
</blockquote>
Yes, asio is recently added to boost (it was a completely
independent project before). :) <br>
<br>
Thanks a lot<br>
Hedayat<br>
<br>
<blockquote style="color: navy; background-color: rgb(245, 245,
245); padding-left: 15px; border-left: 2px solid rgb(16, 16,
255);" cite="mid:528...@gm..."
type="cite">
<div>
<div>
<div>If (for our purposes) features are similar, it may be a
better choice than raknet because it doesn't increase the
number of dependencies (boost is required anyways). </div>
<div><br>
</div>
<div>If any of asio or raknet improve performance better I
would guess it's up to the person doing it... --
unfortunately I haven't got time to help with any of these
at the moment.</div>
<br>
</div>
Cheers</div>
<div>Oliver</div>
<div><br>
</div>
</blockquote>
</body>
</html>
|