Re: [ENet-discuss] need some advice
truename
dragonghost at yeah.net
Thu Jul 29 00:47:29 PDT 2004
> Hi i'm new to enet, i'm new to soket programing in fact. i want to
> make my own chat program based on enet and i need to be able to send a
> broadcast (255.255.255.255) so that everyone who lisens for connections
> on my port can respond and initiate a connection ( a sort of server
> discovery ).
> My problem is that i don't know how to do that with enet ( or if
> it is possible to do a broadcast without messing things up) ; plus i'm
> concerned about portability too so if you could make that a feature of
> enet, that wold be great..
> Btw. i didn't manage to compile enet folowing the instroctions
> in INSTALL on my mandrake linux 10.0.I managed to compile finaly and
> made a library libENet.a. I also compiled a version for windows ( with
> mingw ). Althow linking programs against the win version recuires that
> you link also against libws2_32.a and libwsock32.a (in this order).
> p.s. i'm willing to help if there is anything i can do so.
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
If you don't know where to begin,then
following the tutorial is a good start.I think the best way to learn is to study the source code.
I have not compiled the enet.lib in linux.But I think just linking ws2_32.lib is OK.This is what I use in windows.
Hope this will help.
------------------------------------------------------------
马上到http://www.yeah.net申请260M全国最大免费邮箱!
More information about the ENet-discuss
mailing list