Doubt on limtations on sockets used by a server

P

Prasad

Hi group,

I have written a web -based chat server in VC++ ..
I connect to this server from a php script to send and receive
messages .
It's working fine ..
But, some times the chat server hangs and it won't process any
requests coming from a php script until "I restart it" .
When the chat server hangs (I mean when it won't process any
requests ) , I could n't even browse any web sites from the system in
which it is running ( the browser says "Page can't be
displayed") .After I restart the chat server , it works smoothly and
also I can browse ..
This kind of wierd behaviour is puzzling me a lot .. I could n't find
any reason .

First off, I want to ask :
Will there be any limitations on sockets created or used by a
server (or system ) ?

Then ,
Is it the reason why my server is hanging and I could n't browse ?

Or what else are the possible reasons ?

Please help me to solve this problem .........

Thanks in advance,
 
J

John Harrison

Prasad said:
Hi group,

I have written a web -based chat server in VC++ ..
I connect to this server from a php script to send and receive
messages .
It's working fine ..
But, some times the chat server hangs and it won't process any
requests coming from a php script until "I restart it" .
When the chat server hangs (I mean when it won't process any
requests ) , I could n't even browse any web sites from the system in
which it is running ( the browser says "Page can't be
displayed") .After I restart the chat server , it works smoothly and
also I can browse ..
This kind of wierd behaviour is puzzling me a lot .. I could n't find
any reason .

First off, I want to ask :
Will there be any limitations on sockets created or used by a
server (or system ) ?

Then ,
Is it the reason why my server is hanging and I could n't browse ?

Or what else are the possible reasons ?

Please help me to solve this problem .........

Thanks in advance,

Your question is about sockets not about C++. I suggest you ask on a
Windows programming group, for instance
as your question has
nothing to do with the C++ language.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,689
Members
48,796
Latest member
Greg L.

Latest Threads

Top