delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/10/07:26:03

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 10 Oct 2001 13:25:54 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: Re: [AVShutko AT mail DOT khstu DOT ru: Re: BUG in sendto() function]
Message-ID: <20011010132554.M12872@cygbert.vinschen.de>
Reply-To: cygdev <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygdev <cygwin-developers AT cygwin DOT com>
References: <20011010002737 DOT B16038 AT redhat DOT com> <16470545989 DOT 20011010111003 AT logos-m DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <16470545989.20011010111003@logos-m.ru>; from deo@logos-m.ru on Wed, Oct 10, 2001 at 11:10:03AM +0400

On Wed, Oct 10, 2001 at 11:10:03AM +0400, egor duda wrote:
> Hi!
> 
> Wednesday, 10 October, 2001 Christopher Faylor cgf AT redhat DOT com wrote:
> 
> <test.cpp>
> 
> [...]
> 
> CF> It contains a relatively simple test case that Alexandr says fails.
> 
> God bless users who send simple testcases. it takes me no more than 5
> minutes to see what's wrong.
> 
> CF> ... I was wondering if you could verify if this should work since
> CF> it deals with unix-domain sockets. 
> 
> yes, it should work, testcase is correct. but i doubt it _ever_ worked
> in cygwin. the problem is not with socket. socket is ok. but sendto()
> gets dest_addr parameter of type 'struct sockaddr'. we pass this
> parameter to WSASendTo() as is, and it works ok while this sockaddr is
> of AF_INET family, which WSASendTo() supports. but in this example
> it's AF_UNIX. unfortunately, right now I can't propose any solution
> except "you can't do that" :(
> 
> Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19

Could you communicate that in the related thread on the cygwin list?

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019