Re: TCL and IPv6
- From: David Gravereaux <davygrvy@xxxxxxxxx>
- Date: Thu, 29 Mar 2007 13:59:34 -0700
sukarna@xxxxxxxxx wrote:
There is a patch in the zip file for applying to tclhttpd.
I cannot find this in the iocpsock-3.0a3.zip file. Which file within
the zip are you referring to here?
Oh, I forgot to include it. See attachment.
Any suggestion on how ceptcl can be integrated into tclhttpd for Unix
so we can get IPv6 support in tclhttpd for Unix also?
No clue. probably similar to my change.
--
"All this modern technology just makes people try to do everything at once."
-Hobbes
Index: httpd.tcl
===================================================================
RCS file: /cvsroot/tclhttpd/tclhttpd/lib/httpd.tcl,v
retrieving revision 1.73
diff -c -r1.73 httpd.tcl
*** httpd.tcl 3 Dec 2002 07:20:30 -0000 1.73
--- httpd.tcl 7 Feb 2003 18:42:14 -0000
***************
*** 190,197 ****
if {[string length $name] == 0} {
set Httpd(name) [info hostname]
}
! set cmd [list socket -server [list HttpdAccept \
! [list http $name $port]]]
if {[string length $ipaddr] != 0} {
lappend cmd -myaddr $ipaddr
}
--- 190,207 ----
if {[string length $name] == 0} {
set Httpd(name) [info hostname]
}
!
! ### davygrvy mod for Lyris.
! if {[catch {package require Iocpsock}]} {
! ### Use the stock socket command.
! set cmd socket
! } else {
! ### Use the field patch.
! set cmd socket2
! }
!
! lappend cmd -server [list HttpdAccept \
! [list http $name $port]]
if {[string length $ipaddr] != 0} {
lappend cmd -myaddr $ipaddr
}
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- TCL and IPv6
- From: sukarna
- Re: TCL and IPv6
- From: David Gravereaux
- Re: TCL and IPv6
- From: sukarna
- Re: TCL and IPv6
- From: David Gravereaux
- Re: TCL and IPv6
- From: sukarna
- TCL and IPv6
- Prev by Date: %W in the clock command
- Next by Date: Re: Lego Mindstorms and Tcl
- Previous by thread: Re: TCL and IPv6
- Next by thread: Re: TCL and IPv6
- Index(es):