I just need help with a program

I am trying to write a winsock client and host. But, I think my computer is missing something.

When I put a Winsock propertie in my program such as wsClient.LocalPort = 12345
it hightlights LocalPort and says "Method or Data Member Not Found"

Also an error log says


Line 17: The property name _ExtentX in wsHost is invalid.
Line 18: The property name _ExtentY in wsHost is invalid.
Line 19: The property name _Version in wsHost is invalid.
Line 20: The property name RemotePort in wsHost is invalid.
Line 21: The property name LocalPort in wsHost is invalid.

Do you know what I am missing? and were I could get it?

Thank You