This is the mail archive of the cygwin@sourceware.cygnus.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]

Win95 and sockets


Hi!

I'm about to release my "bugview" patches, but I have one annoying 
win95-specific problem - looks like sockets are non-inheritable on 
Windows95... Inetd/telnetd works fine on NT, but inetd fails on w95. Inetd 
forks on connect, and can't use inheritted from a parent socket handles - 
every socket call (including closesocket()) fails with ENOTSOCK error. Can 
anyone check carefully the problem? It's possible to use "telnetd -d" in 
single-user mode on W95, but I want to be sure that inheritance fails are 
win95, but not cygwin bugs. Any ideas/suggestions? Probably, it's neccesary 
to DuplicateHandle() after a socket() call to have inheritable sockets on 
W95? Sorry for stupid questions, but I have no ability to debug cygwin 
stuff on Win95...

One more NT-specific question - how to load HKEY_CURRENT_USER registry hive 
after successfull logon of the user? It's neccessary for clean logon 
program implementation.

Happy telnetting :-)

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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