Article delegate-en/2874 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2872@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: fix for "FATAL: inherited handle [0] NNN is not socket" on Win32
28 Mar 2005 22:42:10 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


On 03/29/05(02:46) you Mikhail <peqfqbdyi-ecr676uuso5r.ml@ml.delegate.org> wrote
in <_A2872@delegate-en.ML_>
 |> As I wrote in <URL:http://www.delegate.org/mail-lists/delegate-en/2228>,
 |> the problem seems to be caused when WinSock is replaced with a non-standard
 |> and incomplete implementation, which does not support DuplicateHandle()
 |> for socket.  Recently I found that the problem can be escaped by replacing
 |> DuplicateHandle() with the pair of WSADuplicateSocket()+WSASocket().
 |> So I did such modification and uploaded it as
 |
 |Still not working :(
 |
 |Now it reports:
...
 |03/28 23:29:41.34 [3436] 0+0: --INITIALIZATION DONE: 8.11.2-pre2 on WindowsNT--
 |(WIN) 29:41 [3436] setNonblockingSocket(17,1)=0
 |(WIN) 30:52 [1544] >>>> [0] 1968 is not SOCKET, retrying WSADuplicateSocket ...
 |(WIN) 30:52 [3436] spawn() = 484 [1544], children(alive=1,total=1)
 |03/28 23:30:52.43 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
 |03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
 |03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
 |03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
 |
 |and so on.

Invoking DeleGate with "-W4" option might show some helpful information.

 |My wsock32.dll is standard, from WinXP SP2. I don't use any 3rd party network layers.
 |No firewall, no antivirus.
 |
 |Proxomitron and 3proxy work fine on my system.

Does Mozilla (FireFox) works too?

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V