Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264663AbTFENEL (ORCPT ); Thu, 5 Jun 2003 09:04:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264664AbTFENEL (ORCPT ); Thu, 5 Jun 2003 09:04:11 -0400 Received: from hq.pm.waw.pl ([195.116.170.10]:7108 "EHLO hq.pm.waw.pl") by vger.kernel.org with ESMTP id S264663AbTFENEK (ORCPT ); Thu, 5 Jun 2003 09:04:10 -0400 To: Subject: Re: select for UNIX sockets? References: <1054651886.9233.35.camel@dhcp22.swansea.linux.org.uk> From: Krzysztof Halasa Date: 05 Jun 2003 15:17:46 +0200 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 12 Krzysztof Halasa writes: > but unix_peer_get(sk) returns NULL. Well... I missed the fact that this program uses "unconnected" UNIX UDP. Still, it shouldn't block on sendmsg after a successful select(), maybe dropping the packet should be better?. It's not that simple. Thanks for all replies, investigating this issue further. -- Krzysztof Halasa Network Administrator - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/