<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hello Abhijeet,<BR>
<BR>
I've updated noPoll sources to place a default value of 4096<BR>
(instead of rely on default value provided by the OS). I've also<BR>
updated test_12 reg test to check and create 4000 connections<BR>
in a row instead of just 1000 (everything working ok),<BR>
<BR>
You have updated sources at <A HREF="https://github.com/asples/nopoll">https://github.com/asples/nopoll</A><BR>
(rev 284),<BR>
<BR>
Best Regards,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    Hello Abhijeet,<BR>
    <BR>
    I assume you are using nopoll_loop_wait IO mechanism for waiting <BR>
    for incoming connections, right? That is, you are not using your own<BR>
    IO loop waiting and integrated noPoll inside, ok? <BR>
    <BR>
    In that context, take a look at "What are the 64 sockets limitations" <BR>
    from the following document:<BR>
    <BR>
    <A HREF="https://tangentsoft.net/wskfaq/advanced.html">https://tangentsoft.net/wskfaq/advanced.html</A><BR>
    <BR>
    In short, define in your application something like this:<BR>
    <BR>
    #define FD_SETSIZE 2048  <BR>
    / * ...and do that definition before importing noPoll */<BR>
    #include <nopoll.h><BR>
    <BR>
    To have effect this change, you'll have to recompile noPoll with<BR>
    this new value. <BR>
    <BR>
    Best Regards,<BR>
    <BR>
    <BR>
    <BLOCKQUOTE TYPE=CITE>
        Dear sir,<BR>
        <BR>
        <BR>
        Currently we are developing websocket client and server in our application.<BR>
        Our application has one websocket server and 2000 websocket client.<BR>
        We are using windows versions for server C# websocket and for client<BR>
        mode we are using windows version of noPoll.<BR>
        <BR>
        <BR>
        But I am facing problem when I am about to implement 2000 websocket client.<BR>
        I am able to send packets to server with noPoll websocket API's.<BR>
        But when I am listening mode I am unable to get all 2000 commands(packets) from server.<BR>
        We are having command sequence per client from server.<BR>
        <BR>
        <BR>
        I am listening to for all 2000 client connection with following API<BR>
        <BR>
        <BR>
        <B>nopoll_ctx_set_on_msg(context,(void *)CollectorMessage, NULL);</B><BR>
        <BR>
        <BR>
        Whenever we receive any packets the CollectorMessage is hit properly but <B>not for all 2000 connections.</B><BR>
        <B>It is coming only for 64 clients. Please guide me in this regard.</B><BR>
        <BR>
        <BR>
        <BR>
        <BR>
        <B>nopoll_conn_set_on_close(conn[Index],(void *)SessionCloseMSG, NULL);</B><BR>
        <BR>
        <BR>
        Do I require to make 2000 contexts in order to receive all commands for 2000 clients?<BR>
        <BR>
        <BR>
        <BR>
        Please guide me in this regard.<BR>
        <BR>
        <BR>
        Thanks & Regards,<BR>
        Abhijeet R. Mudgal.
<PRE>
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
    <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>

</PRE>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Francis Brosnan Blázquez  -  ASPL
<A HREF="http://www.asplhosting.com/">http://www.asplhosting.com/</A>
<A HREF="http://www.aspl.es/">http://www.aspl.es/</A>
<A HREF="https://twitter.com/aspl_es">https://twitter.com/aspl_es</A>
<A HREF="https://twitter.com/asplhosting">https://twitter.com/asplhosting</A>
<A HREF="https://twitter.com/francisbrosnanb">https://twitter.com/francisbrosnanb</A>

91 134 14 22 - 91 134 14 45 - 91 116 07 57

AVISO LEGAL
 
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL).
 
ASPL garantiza que los datos serán tratados con la finalidad de mantener
las oportunas relaciones comerciales o promocionales con usted o la
entidad que usted representa. No obstante, usted puede ejercitar sus
derechos de acceso, rectificación, cancelación y oposición dispuestos en
la mencionada Ley Orgánica, notificándolo por escrito a ASPL -
Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de Henares
(Madrid).


</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>