By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

Doubt on limtations on sockets used by a server

P: n/a

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,

Feb 17 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Prasad wrote:
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
news:comp.os.ms-windows.programmer.tools.winsock as your question has
nothing to do with the C++ language.

John
Feb 17 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.