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? 
 
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 :( 
 
Does anybody have better ideas, I�m not really happy with my stuff.. 
 
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

Reply via email to