Re: [twsocket] Can't stop the 10057 error

2007-03-23 Thread Matthew
It is my router that is causing the problem. I plugged my cable modem
directly into the computer and I can connect to as many as I want now.
I guess I just need to play around with the router settings. It's a
linksys wrt54g; if anyone knows what I need to change to fix it.

Thanks for your help.

On 3/23/07, Matthew <[EMAIL PROTECTED]> wrote:
> You were right, the error is 10060 which is a timeout. It got me
> thinking that it wasn't the programs fault. My program is an IRC
> client of sorts and I'm trying to get it to connect to many networks.
> So I started mIRC and I was getting the same error when trying to
> connect, a connection timeout. But I tried using different ports like
> 6668 and it would let me connect. It only seems to timeout when I have
> too many connections on one port. I use a firewall and a router, but
> it also might be a Windows problem. Is there any way to increase the
> amount of connections you can have on 1 port or why it's even limited?
>
> On 3/23/07, Wilfried Mestdagh <[EMAIL PROTECTED]> wrote:
> > Hello Matthew,
> >
> > You can start sending in OnSessionConnected, but only if there is no
> > error code. Probably OnSessionConnected is fired with an errorcode,
> > please check this because it will lead to the real error. Same thing in
> > all other events. If there is an error at least log it.
> >
> > ---
> > Rgds, Wilfried [TeamICS]
> > http://www.overbyte.be/eng/overbyte/teamics.html
> > http://www.mestdagh.biz
> >
> > --
> > To unsubscribe or change your settings for TWSocket mailing list
> > please goto http://www.elists.org/mailman/listinfo/twsocket
> > Visit our website at http://www.overbyte.be
> >
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Can't stop the 10057 error

2007-03-23 Thread Matthew
You were right, the error is 10060 which is a timeout. It got me
thinking that it wasn't the programs fault. My program is an IRC
client of sorts and I'm trying to get it to connect to many networks.
So I started mIRC and I was getting the same error when trying to
connect, a connection timeout. But I tried using different ports like
6668 and it would let me connect. It only seems to timeout when I have
too many connections on one port. I use a firewall and a router, but
it also might be a Windows problem. Is there any way to increase the
amount of connections you can have on 1 port or why it's even limited?

On 3/23/07, Wilfried Mestdagh <[EMAIL PROTECTED]> wrote:
> Hello Matthew,
>
> You can start sending in OnSessionConnected, but only if there is no
> error code. Probably OnSessionConnected is fired with an errorcode,
> please check this because it will lead to the real error. Same thing in
> all other events. If there is an error at least log it.
>
> ---
> Rgds, Wilfried [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> http://www.mestdagh.biz
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Can't stop the 10057 error

2007-03-22 Thread Wilfried Mestdagh
Hello Matthew,

You can start sending in OnSessionConnected, but only if there is no
error code. Probably OnSessionConnected is fired with an errorcode,
please check this because it will lead to the real error. Same thing in
all other events. If there is an error at least log it.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

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


[twsocket] Can't stop the 10057 error

2007-03-22 Thread Matthew
Sorry if I screw this up, first time asking a question on here.
I have a program that uses a list of WSocket objects, and I have alot
of them. I setup each one and try to connect all at once, the first 10
or so will connect and the rest give me "socket is not connected
(#10057 in Send)". So I stop the exception from showing up by checking
if it's connected first before I send. But the sockets still
disconnect and the error is 10057. I figure that maybe the first 10 I
try to connect to work and the rest just are screwed up (which is very
unlikely) so I try connecting to random servers in the list. Each one
will usually connect, until I get connected to about 10 or so and they
will just disconnect as soon as they connect with error 10057.

Any help on what the problem is or how I could even go about
troubleshooting it will be appreciated.

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