This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [AVShutko@mail.khstu.ru: Re: BUG in sendto() function]


On Wed, Oct 10, 2001 at 11:10:03AM +0400, egor duda wrote:
> Hi!
> 
> Wednesday, 10 October, 2001 Christopher Faylor cgf@redhat.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@logos-m.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@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]