Bob Cowdery wrote:
> The listner is a single thread that creates an instance of my web socket
> class for each connection. I'm not trying to support lots of users, most
> of the time just one. The listner code is almost the same as the sockets
> example. If you or anyone else can spare a few moments the code can be
> browsed at http://code.google.com/p/dcsdr/source/browse
> (branches/linux/DcSdr/WsServer/listener.d). The trunk is the Windows
> version. I'd be very happy if it's something I'm doing wrong.
> 
        I looked at your code and I don't see what could cause this issue.
Sorry.

        I did however find a bug: when a client connection is closed, you
remove the corresponding socket from reads but you don't remove the
WebSocket from wsset...

                Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to