[ENet-discuss] How can I get the client port created in my client side

Siqi Shen siqishen at gmail.com
Wed Jul 11 04:48:44 PDT 2012


Hi All,

I am developing a small game using enet as network layer. My question is
that how can I know the port I created in my client side to connect to
remote host. I know that I can know the client's port in server's side when
ENET_EVENT_TYPE_CONNECT receive; but I can not get the port when I use
enet_host_create or enet_host_connect or ENET_EVENT_TYPE_CONNECT receive in
client's side. Anyone know how to deal with this problem?

Thanks and best regards,
Siqi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20120711/c64afa88/attachment.html>


More information about the ENet-discuss mailing list