hello, while trying to follow a tutorial involving sockets I found out that my winsock component has something wrong with it

what should be:
Code:
Public ReadOnly Property State() As MSWinsockLib.StateConstants()
is instead:
Code:
Public ReadOnly Property State() As Short
and this is presenting all sorts of problems such as not being able to get the state of the socket I am working with

so can anyone post a link to a working winsock component, tell me how to fix mine, or embarrass me by telling me im doing something wrong and that the winsock component is fine