This is the mail archive of the cygwin@sources.redhat.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: read(0) when stdin is a Windows socket handle returning EACCES


On Fri, Jul 14, 2000 at 03:54:54AM -0400, David Bolen wrote:
>I'm running into a strange issue with read() failing to read from stdin when
>stdin is a socket connection that I was hoping someone might be able to
>offer any suggestions on how to further diagnose.
>[snip]
>I haven't been able to get strace to work within the server environment
>(e.g., trying to get the server to execute strace which is executing the
>test code) and an strace of the above code on its own of course works fine.

In that case, I'd suggest that you use gdb, like you would on UNIX.  You
can attach to a running process using the Windows pid which is displayed
by 'ps -lf'.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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