Discussion Locked

Winsock Help

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I get this error from the chat room app sample I found here at TechRepublic. I have a peer to peer network that I am trying this app out on. The error number is 10049(Address is not available from local machine). Any suggestions would be appreciated.

P.S. I tried all of these ports: 0, 400, 1001, 1002.

3 replies

by Member 23161263

B2T,
Check:
- that TCP/IP protocol is installed by looking into control pannel, network , Protocols.
- That each PC has an assigned TCP/IP address by looking into into control pannel, network , properties. Any address will do it , forexample 197.16.0.10. Give a diferent address to each PC.
- that the Network Mask is set (255.255.255.0).

Now from a dos box, chack that you can ping the other PC by doing: ping 197.16.0.10

If you recieve a responce, It should be working..
Best luck.
JP

This discussion is closed to new replies.