Re: [gnet] asynchronous+UDP
- From: David Helder <dhelder umich edu>
- To: Pierre Gros <Pierre Gros eurecom fr>
- Cc: GNet List <gnet gnetlibrary org>
- Subject: Re: [gnet] asynchronous+UDP
- Date: Wed, 8 Jan 2003 14:44:23 -0500 (EST)
Pierre,
Get the IOChannel for the multicast socket (gnet_udp_socket_get_iochannel())
Set a watch for a read (g_io_add_watch())
When you can read from it, call gnet_udp_socket_receive()
David
On Wed, 8 Jan 2003, Pierre Gros wrote:
> Excuse me but :
> how to make asynchronous reception of a UDP packet (with multicast socket )
> with a time out
> Thank you and happy new year
> pierre
--
__ _ __ David Helder - dhelder umich edu
___/ /__ __ __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
/ _ / _ `/ |/ / / _ / DiaWebLog: <http://www.diaweblog.org>
|_,_/|_,_/|___/_/|_,_/ Paper CD Case: <http://www.papercdcase.com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]