home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,840 of 14,669   
   Jorgen Grahn to David Schwartz   
   Re: UDP socket && sendto && EPERM   
   07 May 09 10:55:22   
   
   ce6dcb88   
   From: grahn+nntp@snipabacken.se   
      
   On Wed, 6 May 2009 07:38:00 -0700 (PDT), David Schwartz    
   wrote:   
   > On May 5, 9:16 pm, Barry Margolin  wrote:   
   >   
   >> Do you know this for a fact, or are you just guessing?   
   >   
   > I know for a fact that his code is broken and it's giving him problems   
   > other people don't have. The only way to prove causality is for him to   
   > fix his code and demonstrate that he still has the problem. He has to   
   > fix it anyway.   
   >   
   >> Why does it   
   >> return this error code in that case, surely there must be a more   
   >> appropriate code, since this has nothing to do with permissions.   
   >   
   > It has everything to do with permissions. Only 'root' is permitted to   
   > use network resources in anti-social ways. Ordinary users are subject   
   > to rational limits.   
      
   You need to provide references for this I think ...   
      
   But I think you are right; Linux doesn't just do what you would expect   
   (drop the datagram and claim it was sent anyway).  At least not always   
   -- there may be a difference between bound and unbound UDP sockets, and   
   if PMTU is enabled or not.  Unfortunately I have never seen it   
   documented; it's just hearsay and experiments on my part.   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn           R'lyeh wgah'nagl fhtagn!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca