<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No, actually it can't. But after talking with Lee on IRC it seems a
bad approach either way, and the best approach is to send connect,
and on client _CONNECT event, send the information in a packet (not
a connect command). <br>
<br>
Thanks for the reply anyway :)<br>
<br>
On 2010/10/16 02:52 AM, czj wrote:
<blockquote cite="mid:201010160852515318620@gmail.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=GB2312">
<meta content="MSHTML 6.00.2900.3698" name="GENERATOR">
<style>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
<div><font color="#000080" face="Verdana" size="2">uh...the data
can be everything.</font></div>
<div> </div>
<div> </div>
<div><font color="#c0c0c0" face="Verdana" size="2">2010-10-16 </font></div>
<font color="#000080" face="Verdana" size="2">
<hr style="width: 122px; height: 2px;" align="left" size="2">
</font>
<div><font color="#c0c0c0" face="Verdana" size="2"><span>czj</span>
</font></div>
<font color="#000080" face="Verdana" size="2">
<hr>
</font>
<div><font face="Verdana" size="2"><strong>发件人:</strong>
enet-discuss-request </font></div>
<div><font face="Verdana" size="2"><strong>发送时间:</strong>
2010-10-16 03:00:52 </font></div>
<div><font face="Verdana" size="2"><strong>收件人:</strong>
enet-discuss </font></div>
<div><font face="Verdana" size="2"><strong>抄送:</strong> </font></div>
<div><font face="Verdana" size="2"><strong>主题:</strong>
ENet-discuss Digest, Vol 89, Issue 6 </font></div>
<div> </div>
<div><font face="Verdana" size="2">
<div>Send ENet-discuss mailing list submissions to</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</a></div>
<div>To subscribe or unsubscribe via the World Wide Web, visit</div>
<div><a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a></div>
<div>or, via email, send a message with subject or body 'help' to</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:enet-discuss-request@cubik.org">enet-discuss-request@cubik.org</a></div>
<div>You can reach the person managing the list at</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:enet-discuss-owner@cubik.org">enet-discuss-owner@cubik.org</a></div>
<div>When replying, please edit your Subject line so it is more specific</div>
<div>than "Re: Contents of ENet-discuss digest..."</div>
<div>Today's Topics:</div>
<div> 1. enet_host_connect and the data parameter. (fuzzy)</div>
<div>----------------------------------------------------------------------</div>
<div>Message: 1</div>
<div>Date: Fri, 15 Oct 2010 13:21:11 +0200</div>
<div>From: fuzzy <a class="moz-txt-link-rfc2396E" href="mailto:fuzzyspoon@gmail.com"><fuzzyspoon@gmail.com></a></div>
<div>To: <a class="moz-txt-link-abbreviated" href="mailto:enet-discuss@cubik.org">enet-discuss@cubik.org</a></div>
<div>Subject: [ENet-discuss] enet_host_connect and the data parameter.</div>
<div>Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4CB83927.9030809@gmail.com"><4CB83927.9030809@gmail.com></a></div>
<div>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"</div>
<div> Is this parameter only for flags, not data?</div>
<div>For example, when sending packets around to my clients / server i use BSON.</div>
<div>This is simple when building a packet cos i can just do</div>
<div>*enet_packet_create((const void*)objectData , objectDataSize...*</div>
<div>But now, after just porting to 1.3.0 :</div>
<div>enet_host_connect </div>
<div><a class="moz-txt-link-rfc2396E" href="http://enet.bespin.org/group__host.html#g23b3ac206326b84f42fa91673f12fca9"><http://enet.bespin.org/group__host.html#g23b3ac206326b84f42fa91673f12fca9></a> </div>
<div>adds a *enet_uint32 data* parameter which says " user data supplied to </div>
<div>the receiving host ".</div>
<div>Maybe i am over tired, but this is for a bitmask/flags option... not </div>
<div>actual data right?</div>
<div>If i wanted to send the client nickname and client user ID across* on </div>
<div>connect request* - is that possible?</div>
<div>ENetPeer has a data pointer too, but the connect returns a peer so i </div>
<div>can't obviously set it in advance.</div>
<div>Thanks,</div>
<div>FuzzYspo0N</div>
<div>-------------- next part --------------</div>
<div>An HTML attachment was scrubbed...</div>
<div>URL: <a class="moz-txt-link-rfc2396E" href="http://lists.cubik.org/pipermail/enet-discuss/attachments/20101015/88a2532d/attachment-0001.html"><http://lists.cubik.org/pipermail/enet-discuss/attachments/20101015/88a2532d/attachment-0001.html></a></div>
<div>------------------------------</div>
<div>_______________________________________________</div>
<div>ENet-discuss mailing list</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a></div>
<div><a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a></div>
<div>End of ENet-discuss Digest, Vol 89, Issue 6</div>
<div>*******************************************</div>
</font></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ENet-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a>
<a class="moz-txt-link-freetext" href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>