Hi,
I wrote the ns_chan code -- not surprised it doesn't work because the
implementation seemed dubious at the time.
Moving forward, there's some code in tclsock.c which shares channels via
dup'ing the underlying socket as Zoran suggested below. That seems to
work but looks like a lot of work. Otherwise, for sharing an open
file/socket we generally write custom commands which do the correct locking and/or
ensure atomic I/O operations (using writev, pread, etc.). Maybe a few good
examples of that could be uploaded as modules for others to use.
-Jim
In a message dated 7/5/2003 6:48:35 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
On Friday 04 July 2003 12:34, you wrote:
|
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared chan... Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared chan... Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jim Davidson
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jim Davidson
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jean-Fabrice RABAUTE
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic
- Re: [AOLSERVER] Tcl shared channels Jeff Hobbs
- Re: [AOLSERVER] Tcl shared channels Zoran Vasiljevic