Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread MFischer

Hello,

i don't think that this could be the problem, because on netstat -a are no
sockets in TIME_WAIT related to the server process. And all client-sockets are
in state Established, the only matter is the in the server component the
OnSessionAvaiable-Callback is not called.

 twsocket-boun...@elists.org schrieb am 20.07.2011 17:16:30:
 Re: [twsocket] TWSocket OnSessionAvailable problem
 Wilfried Mestdagh
 an:
 'ICS support mailing'
 20.07.2011 17:18
 Gesendet von:
 twsocket-boun...@elists.org

 Hi,

 Maybe too many sockets in TIME_WAIT? You can chech this with netstat -a

 --
 mvg, Wilfried
 http://www.mestdagh.biz
 http://www.comfortsoftware.be
 http://www.expertsoftware.be


  -Oorspronkelijk bericht-
  Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
  Namens mfisc...@bfe.tv
  Verzonden: woensdag 20 juli 2011 11:44
  Aan: twsocket@elists.org
  Onderwerp: [twsocket] TWSocket OnSessionAvailable problem
 
 
 
  Hi,
  i am using the Standard TWSocket in a Server and round about 30 Clients
  in
  LineMode. After a Client is connected to the Server, the Client starts
  immediately to send text messages. After some sort of filtering the
  messages
  are broadcasted to a subset of all connected Clients. If i start the
  sever and
  30 clients through a script on a single Windows 7 PC the following
  error
  occurs: After 23-26 Clients get connected, the server no longer calls
  the
  callback function for OnSessionAvailable, but at client-side the
  callback for
  OnSessionConnected is still activated and the ClientSocket stays in
  state
  wsConnected. If i look at TCPView the corresponding Connection has the
  state
  Established. OnError or OnBGException are not called and the Socket
  is still
  in listening-State. If the Listening  Socket is Destroyed and
  recreated
  everything works in a certain way. Any idea in which direction my
  problem
  could be located?
  Thanks,
   M. Fischer
  --
  To unsubscribe or change your settings for TWSocket mailing list
  please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be

 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread MFischer
I tried although the TWSocketServer Component and encountered the same
problem.
Same with different Versions of ICS. i have tried with an older version and
ICS-V6 from overbyte.be with Delphi 2006.
Maybe i should try with ICS-V7?


 twsocket-boun...@elists.org schrieb am 20.07.2011 18:27:56:
 Re: [twsocket] TWSocket OnSessionAvailable problem
 Arno Garrels
 an:
 ICS support mailing
 20.07.2011 18:28
 Gesendet von:
 twsocket-boun...@elists.org

 mfisc...@bfe.tv wrote:
  Hi,
  i am using the Standard TWSocket in a Server and round about 30
  Clients in LineMode. After a Client is connected to the Server, the
  Client starts immediately to send text messages. After some sort of
  filtering the messages are broadcasted to a subset of all connected
  Clients. If i start the sever and 30 clients through a script on a
  single Windows 7 PC the following error occurs: After 23-26 Clients
  get connected, the server no longer calls the callback function for
  OnSessionAvailable, but at client-side the callback for
  OnSessionConnected is still activated and the ClientSocket stays in
  state wsConnected. If i look at TCPView the corresponding Connection
  has the state Established. OnError or OnBGException are not called
  and the Socket is still in listening-State. If the Listening
  Socket is Destroyed and recreated everything works in a certain way.
  Any idea in which direction my problem could be located?

 Don't you use the TWSocketServer component?
 What version of ICS do you use and where did you download it?

 --
 Arno Garrels
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread Arno Garrels
mfisc...@bfe.tv wrote:
 I tried although the TWSocketServer Component and encountered the same
 problem.
 Same with different Versions of ICS. i have tried with an older
 version and ICS-V6 from overbyte.be with Delphi 2006.
 Maybe i should try with ICS-V7?

Yes, please use ICSv7 and if possible TWSocketServer.
Then try to include wsoNoReceiveLoop in the ComponentOptions 
of the TWSocketClient instances. Also try to assign a greater 
value to property ListenBackLog of the TWSocketServer component.

And of course avoid any lengthy blocking tasks since they also
delay/block acceptance of new connections (though buffered by 
winsock thru the ListenBackLogQueue). 

Did that work?

-- 
Arno Garrels


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread Arno Garrels
Arno Garrels wrote:
 mfisc...@bfe.tv wrote:
 I tried although the TWSocketServer Component and encountered the
 same problem.
 Same with different Versions of ICS. i have tried with an older
 version and ICS-V6 from overbyte.be with Delphi 2006.
 Maybe i should try with ICS-V7?
 
 Yes, please use ICSv7 and if possible TWSocketServer.

Forgot to post the download link:
http://wiki.overbyte.be/wiki/index.php/ICS_Download 

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread Wilfried Mestdagh
Hi,

Maybe too many sockets in TIME_WAIT? You can chech this with netstat -a

-- 
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be


 -Oorspronkelijk bericht-
 Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
 Namens mfisc...@bfe.tv
 Verzonden: woensdag 20 juli 2011 11:44
 Aan: twsocket@elists.org
 Onderwerp: [twsocket] TWSocket OnSessionAvailable problem
 
 
 
 Hi,
 i am using the Standard TWSocket in a Server and round about 30 Clients
 in
 LineMode. After a Client is connected to the Server, the Client starts
 immediately to send text messages. After some sort of filtering the
 messages
 are broadcasted to a subset of all connected Clients. If i start the
 sever and
 30 clients through a script on a single Windows 7 PC the following
 error
 occurs: After 23-26 Clients get connected, the server no longer calls
 the
 callback function for OnSessionAvailable, but at client-side the
 callback for
 OnSessionConnected is still activated and the ClientSocket stays in
 state
 wsConnected. If i look at TCPView the corresponding Connection has the
 state
 Established. OnError or OnBGException are not called and the Socket
 is still
 in listening-State. If the Listening  Socket is Destroyed and
 recreated
 everything works in a certain way. Any idea in which direction my
 problem
 could be located?
 Thanks,
  M. Fischer
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread Arno Garrels
mfisc...@bfe.tv wrote:
 Hi,
 i am using the Standard TWSocket in a Server and round about 30
 Clients in LineMode. After a Client is connected to the Server, the
 Client starts immediately to send text messages. After some sort of
 filtering the messages are broadcasted to a subset of all connected
 Clients. If i start the sever and 30 clients through a script on a
 single Windows 7 PC the following error occurs: After 23-26 Clients
 get connected, the server no longer calls the callback function for
 OnSessionAvailable, but at client-side the callback for
 OnSessionConnected is still activated and the ClientSocket stays in
 state wsConnected. If i look at TCPView the corresponding Connection
 has the state Established. OnError or OnBGException are not called
 and the Socket is still in listening-State. If the Listening 
 Socket is Destroyed and recreated everything works in a certain way.
 Any idea in which direction my problem could be located? 

Don't you use the TWSocketServer component?
What version of ICS do you use and where did you download it?

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be