Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 12th, 2001, 08:06 AM
Projecto EINet Projecto EINet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 1999
Location: Seixal, Portugal
Posts: 19 Projecto EINet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy

Hi,

I'm an web developer and I'm using a realtime chat to "talk" to my clients. It's made with Perl and uses "push" technology but if I'm "talking" for a few minutes the system frozes.

I know that are several systems that use a "socket" related approach to maintain communication on but I don't know how to do it.

Could someone tell me where can I found samples to study how to do it. They could be in Perl or PHP.

Thanks in advance,

Lopo

Reply With Quote
  #2  
Old March 14th, 2001, 01:37 PM
wdn2000's Avatar
wdn2000 wdn2000 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Apr 2000
Posts: 1,058 wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 20 h 56 m 43 sec
Reputation Power: 16
Java is much more suited to the task of realtime chat. Perl and PHP both have the ability to do "socket-based" communication, but the limitation is the browser interface.

Scott

Reply With Quote
  #3  
Old March 15th, 2001, 05:32 AM
Projecto EINet Projecto EINet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 1999
Location: Seixal, Portugal
Posts: 19 Projecto EINet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs down

You didn't read the question. I want to make it with Perl. Iknow that there are this kind of software in Java.

If you know how to do it with sockets please send me a sample, if not don't bother to tell me what I already know.

Best regards,

Lopo

Reply With Quote
  #4  
Old March 15th, 2001, 02:30 PM
wdn2000's Avatar
wdn2000 wdn2000 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Apr 2000
Posts: 1,058 wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 20 h 56 m 43 sec
Reputation Power: 16
Actually, I did read the question. You said you had a version that used Perl and it didn't work well. I suppose I may have misunderstood because I thought you wanted to make a version that would work well. Perl & PHP can do "sockets", but the browser interface makes them unsuitable in comparison to Java. If you would like to insist on using the wrong tool for the job there are 30 examples of "chat" apps in perl at:

http://cgi.resourceindex.com/Progra...ipts/Perl/Chat/

and 12 examples of "chat" in PHP at:

http://php.resourceindex.com/Complete_Scripts/Chat/

and you may want to take note that it is difficult to not tell someone what they already know when they fail to mention it in the first place. Or did you not remember that you didn't mention Java in your origianl post?

Rest assured, I will refrain from telling you anything in the future.


Scott


Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > help with realtime chat


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT