Re: [gnet] broadcast with gnet ??



Just send a packet to a broadcast address.  Broadcast is enabled on UDP
sockets by default.  Look at examples/echoclient-udp.c for an example of
how to use UDP.

David


On Thu, 26 Jul 2001, Franck Smith wrote:
> i'd like to know if there's a way to do some broadcast with
> the gnet library


-- 
      __          _    __ David Helder - dhelder umich edu
  ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
 / _  / _ `/ |/ / / _  /  Jungle Monkey: <http://www.junglemonkey.net>
 |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]