-
January 14th, 2004, 02:03 AM
#1
Code doesn't works under Windows 2000.
I have created a client-server chat application using Windows Socket(CSocket class). The server just checks for the validation of the message being sent by the clients and forwards it as a broadcast message to all of the clients. The server is first initiated and made to listen on a particular port. Then the clients logg in(no username or passwords justa technical term) and start chatting with the other clients right away.
It works fine on Windows ME(Win ME and Win 2000 all I have) but doesn't works under Windows 2000.
It doesn't gives a error message nor it exits abnormally but
doesn't accepts and listens on any port I don't know why.
Please help me out of this.
-
January 14th, 2004, 02:25 AM
#2
May be the port is already used by other application. You can use netstat -a in the command prompt to display all connections and listening ports.
-
January 16th, 2004, 01:57 AM
#3
beside that, are you sure you are not running security application running which blocks the port other then the well known one???
-
January 16th, 2004, 06:15 AM
#4
Re: Code doesn't works under Windows 2000.
Originally posted by sharma_deepak83
doesn't accepts and listens on any port I don't know why.
Does the server part bind the specified port successfuly? What port do U try to bind? Possible, it's used already or belongs to the priviledged range.
As have been pointed before, check if U can see the opened by your application port with netstat -at?
Are the any kind of firewall running on this machine?
"UNIX is simple; it just takes a genius to understand its simplicity!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|