Re: [gnet] Connection Buffer Backlog



I'm running linux. I don't know the rate. I am testing a distribuited
protocol, emulating 100 machines in one monoprocessed physical box (that's
why I think I have a lot of messages dropped, don't you think?). Is it safe
to bypass gnet and call setsockopt directly? At first I thought that UDP
didn't have this concept of backlog...

Nelio
____________________________________________________
Nelio Alves
Equifax do Brasil - System Architect
+55 -11 3016-6180
nalves equifax com br


                                                                                                                           
                      "David A. Helder"                                                                                    
                      <dhelder gizmolab        To:       nalves equifax com br                                             
                      s.org>                   cc:       gnet gnetlibrary org                                              
                                               Subject:  Re: [gnet] Connection Buffer Backlog                              
                      04/01/2004 18:24                                                                                     
                                                                                                                           
                                                                                                                           




UDP is best effort delivery, so packets can be dropped.  Most OSes let
you set the buffer size via setsockopt(), but GNet doesn't have an
interface for this.  What OS are you using?  What rate do you need to
send packets?

David


On Mon, 2003-12-29 at 07:58, nalves equifax com br wrote:
> Hi list.
>
> How do I set the backlog on my server buffer? I have a UDP socket server,
> and it seems like I'm losing messages..
>
> Thanks
> ____________________________________________________
> Nelio Alves
> Equifax do Brasil - System Architect
> +55 -11 3016-6180
> nalves equifax com br
>
>
> _______________________________________________
> gnet mailing list
> gnet lists gnetlibrary org
> http://lists.gizmolabs.org/mailman/listinfo/gnet
--
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder








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