Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket connection: EACCES, EPERM error

Status
Not open for further replies.

3681

Programmer
Jul 10, 2005
1
NL
Hello,

I am trying to do a simple client/server application in C++. Apparently the server is running and now I am trying to connect the client to the server using Socket::connect.

Errno gives the error EACCES, EPERM which means "The user tried to connect to a broadcast address without having the socket broadcast flag enabled or the connection request failed because of a local firewall rule."

Does anyonw know how to solve this problem?

Ana
 
Any details? Are you running Windows XP with the firewall enabled and set to block all ports except some (HTTP, FTP, etc) ?
Or any other detail that would help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top