On Wed, Jan 02, 2002 at 12:57:25AM +0100, Ralf Habacker wrote: > Thanks for this hints. While porting kdelibs I have had to explicity closed and >delete the > socket file before I can bound to it (which wasn't used under other ported os) and >as I found > the decribed code in the bind() function, the first thoughts was that this may be the > problem. After this correction I will look at the kde code to identify the called >functions. > Perhaps the problem is the getsockname().
I have checked in a fix to getsockname() to return the correct result for AF_LOCAL/AF_UNIX sockets as well. You can find it in the current sources from CVS. > After looking in the code I have an additional question. Does cygwin and linux >differs in the > possibilites of deleting of open files ? This could be a difference, because I have >found > that before binding an unlink() is made, but fails. The usual Win32/Posix difference: You can't unlink a file on Win32 which is still in use. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/