Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

problem of socketserver

i'm developing a multitiered project with socket components.. the client connection is thru the port of socket.. for that when we running the socket server  (scktsrvr.exe) this errors occurs " Error Opening port 211 with error can't create new socket" ...First time ther was no problem.. but after the installation of network card .. this error occurs.. why?
0
sumeesh
Asked:
sumeesh
1 Solution
 
AvonWyssCommented:
I suppose that the port 211 is already in use. Note that ports below 1024 are considered reserved for well-known protocols (see also http://www.iana.org/assignments/port-numbers ).
0
 
ArabelCommented:
try a "netstat -an "
 you will see a list of ports which are in use
 But most likely you reserve the port more than once in your program eq. Threads
 good luck
0
 
gaafer5Commented:
can u show me the code u use for the server socket?
are u use a nonblocked socket or what?
0
 
pnh73Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from AvonWyss

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now