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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Streaming Chat

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
I have a chat script that I'd like to add a "streaming" mode to. I came across the following code which supposedly does this, but I can't seem to get it to work:

______________________________________________

use CGI qw(:push -nph);

$| = 1;
print multipart_init(-boundary=>'----');
print multipart_start(-type=>'text/html');
while (1) {

print "HTML goes here...";
sleep 1;

}
print multipart_end;

______________________________________________

Is there anyone who'd be willing to look at the chat script and help me out with this?

Thanks,
Charles
holomax@xmail.com
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Question Question
Replies
10
Views
226
Replies
1
Views
101
Replies
3
Views
190
  • Locked
  • Question Question
Replies
5
Views
105

Part and Inventory Search

Sponsor

Back
Top