Dear forum users. I once again ask you to help me to solve my problem. I attached an easy example that works under Linux and FreeBSD.
The example consists of a trivial rpc program with no procedures. When it's executed without any parameters in a command line it uses svc_run procedure to enter the loop in which rpc requests being handled. When it's executed with any parameter it implements the mentioned loop using "select" and "svc_getreqset". Only when the program is executed under cygwin in that second mode "select" returnes error "Bad file descriptor". Lev.
cygcheck.out
Description: Binary data
probe.c
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/