473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Doubt on limtations on sockets used by a server


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
1 1289
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: jack | last post by:
At this link I have two c# projects, one is a client, the other is a server. Just point the ip address of the client at the server http://www.slip-angle.com/hosted/bug/ The server does...
21
by: jack | last post by:
At this link I have two c# projects, one is a client, the other is a server. Just point the ip address of the client at the server http://www.slip-angle.com/hosted/bug/ The server does...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.