[AOLSERVER] About WebSockets support

3 views
Skip to first unread message

Alexey Pechnikov

unread,
Mar 23, 2010, 2:06:18 PM3/23/10
to AOLS...@listserv.aol.com
Hello!

Is it posiible for AOL architecture to manage a lot of persistent connections?
Or may be we need search another servers for this task?

Best regards, Alexey Pechnikov.
http://pechnikov.tel/


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Tom Jackson

unread,
Mar 23, 2010, 4:24:41 PM3/23/10
to AOLS...@listserv.aol.com
I would look at the nsbgwrite:

http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=tree;f=aolserver/nsbgwrite

This is also in the AOLserver head.

Basically, pass off a socket to a dedicated thread and use the tcl
non-blocking i/o to multiplex communication.

If you want to actually interact with the server, you could look at
my very deficient nsjabber code:

http://rmadilo.com/files/nsjabber/

Jabber maintains persistent connections to clients, so this code is an
example of what you are trying to do. Of course jabber sucks and
requires xml events, but this is what you get with persistent
connections.

Reply all
Reply to author
Forward
0 new messages