Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple web browser problem

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
AU
Hi!

I have been using tkhtml to display html files, it works OK. Now I would like to display a live web page in a window.

I found this code on package require Tkhtml
package require http
pack [scrollbar .vsb -orient vertical -command {.html yview}] -side right -fill y
pack [html .html -bg white -yscrollcommand {.vsb set}] -fill both -expand 1
set t [http::geturl ]
.html parse [http::data $t]
http::cleanup $t

I get an error couldn't open socket: connection timed out at set t [http::geturl ]

Why is that? Is there something I need to setup on the unix side?

-I have http 2.4.5 tkhtml 2.0
- My internet connection works, I can display the site in Internet Explorer
 
I just wanted to add that I have a PC and use Exceed to emulate unix. The problem is on the unix side

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top