See below:

--- Clemens Eisserer <[EMAIL PROTECTED]> wrote:
> Hi again! 
>  
> I´m currently thinking about writing a simple
> JS-Chat, so that the chat doent need to reload
> always when 
> new messages recieve. 
> The problem is, that the server should connect to
> the client, which is not possible as far as I know,
> this 
> means the client has to use possling and aks all x
> seconds the server for new messages. 
>  
> 1.) Is there no other was to do this than polling? 

Not that I know of
  
> 2.) These are the only polling-ideas I had: 
> * Blocking soda-rpc function. Blocks till messages
> are on server. (Problem with blocking - no events
> etc?) 
> * Non-Blocking soda-rpc function. Returns -1 if
> nothing is there... 
>  
> Is the blocking version possible, or will it cause
> the application to hand in the poll-loop. This is a
> problem 
> in my eyes since JS hasnt support für Multithreading
> :( 

Using synchronous GET or post will cause the app to
wait until the server returns a response. 


> Does anybody have better ideas, I´m not really happy
> with my stuff.. 

In the future there might be an easier method

--
Raymond Irving

> lg Clemens 
>  
> PS1: How hard would it be to adopt dynapi to
> knoqueror? (only because it interrests me why so
> many 
> examples dont work..) 
> PS2: Dynapi is great! 
>  
>
______________________________________________________________________________
> Zwei Mal Platz 1 mit dem jeweils besten
> Testergebnis! WEB.DE FreeMail
> und WEB.DE Club bei Stiftung Warentest!
> http://f.web.de/?mc=021183
> 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback
> Program.
> SourceForge.net hosts over 70,000 Open Source
> Projects.
> See the people who have HELPED US provide better
> services:
> Click here: http://sourceforge.net/supporters.php
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/dynapi-help


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to