<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Is this parameter only for flags, not data? <br>
<br>
For example, when sending packets around to my clients / server i
use BSON. <br>
This is simple when building a packet cos i can just do<br>
<b>enet_packet_create((const void*)objectData , objectDataSize...</b><br>
<br>
But now, after just porting to 1.3.0 : <br>
<a
href="http://enet.bespin.org/group__host.html#g23b3ac206326b84f42fa91673f12fca9">enet_host_connect</a>
adds a <b>enet_uint32 data</b> parameter which says " user data
supplied to the receiving host ".<br>
<br>
Maybe i am over tired, but this is for a bitmask/flags option... not
actual data right?<br>
<br>
If i wanted to send the client nickname and client user ID across<b>
on connect request</b> - is that possible?<br>
ENetPeer has a data pointer too, but the connect returns a peer so i
can't obviously set it in advance.<br>
<br>
Thanks,<br>
FuzzYspo0N<br>
</body>
</html>