This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
- To: egor duda <cygwin-developers at cygwin dot com>
- Subject: Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
- From: egor duda <deo at logos-m dot ru>
- Date: Mon, 30 Apr 2001 23:57:32 +0400
- Organization: deo
- References: <2415739582.20010430214824@logos-m.ru>
- Reply-To: egor duda <cygwin-developers at cygwin dot com>
Hi!
Monday, 30 April, 2001 egor duda deo@logos-m.ru wrote:
hmm. rshd's playing with the path. if i change execle (..., envinit); to
execl (...); error disappears.
the strangest thing is that event if i try to construct PATH in sh to
be identical with rshd's (i made them differ only in case), it still
prints this error.
ed> anybody ever seen this?
ed> 491 163620 [main] in.rshd 245 spawn_guts: spawn_guts null_app_name 0 (e:\unix\bin\sh.exe, e:\unix\bin\sh.exe -c /bin/peer)
ed> 2386 166006 [main] in.rshd 245 dtable::fixup_before_exec: fd 0(/dev/tcp)
ed> 363 166369 [main] in.rshd 245 fhandler_socket::fixup_before_fork_exec: WSADuplicateSocket went fine, dwServiceFlags1=131174
ed> 569 166938 [main] in.rshd 245 dtable::fixup_before_exec: fd 1(/dev/pipew)
ed> 272 167210 [main] in.rshd 245 dtable::fixup_before_exec: fd 2(/dev/pipew)
ed> 247 167457 [main] in.rshd 245 spawn_guts: 245 = spawn_guts (/bin/sh, e:\unix\bin\sh.exe -c /bin/peer)
ed> 258 167715 [main] in.rshd 245! spawn_guts: spawned windows pid 212
ed> 81179 493904 [select_socket] in.rshd 214 thread_socket: stuff_start 0xA014634
ed> 2351 170066 [sig] in.rshd 245! wait_sig: sigcatch_nonmain 0xCC, sigcatch_main 0x234
ed> 324 170390 [sig] in.rshd 245! wait_sig: Ready. dwProcessid 245
ed> **********************************************
ed> Program name: e:\unix\bin\sh.exe (245)
ed> App version: 1001.8, api: 0.34
ed> DLL version: 1003.2, api: 0.39
ed> DLL build: 2001-04-26 16:50
ed> OS version: Windows NT-4.0
ed> Date/Time: 2001-04-30 21:29:42
ed> **********************************************
ed> 293 11682 [main] sh 245 fhandler_socket::fixup_after_fork: WSASocket begin, dwServiceFlags1=131174
ed> 13342 25024 [main] sh 245 wsock_init: res 0
ed> 351 25375 [main] sh 245 wsock_init: wVersion 514
ed> 227 25602 [main] sh 245 wsock_init: wHighVersion 514
ed> 220 25822 [main] sh 245 wsock_init: szDescription WinSock 2.0
ed> 219 26041 [main] sh 245 wsock_init: szSystemStatus Running
ed> 224 26265 [main] sh 245 wsock_init: iMaxSockets 0
ed> 268 26533 [main] sh 245 wsock_init: iMaxUdpDg 0
ed> 225 26758 [main] sh 245 wsock_init: lpVendorInfo 0
ed> 10733 37491 [main] sh 245 fhandler_socket::fixup_after_fork: WSASocket error
ed> 638 38129 [main] sh 245 __set_winsock_errno: fixup_after_fork:168 - winsock error 10106 -> errno 1
ed> 274 38403 [main] sh 245 fhandler_base::fixup_after_fork: inheriting '/dev/tcp' from parent
ed> 680 39083 [main] sh 245 fhandler_socket::fixup_after_fork: Without Winsock 2.0
egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19