I am using VB 5 with Winsock. My VB program first retrieves the hostname and the port number from the local registry. My port number in my registry is defined as name and the number can be retrieved in the services file.
Question : how can I convert the port name in integer or how can I retrieve the socket number in my services file
from VB ??
Second question : how can I check if my remote port number is listening on my port defined in my registry ??
which message can I catch from VB if the remote port number is not listening to ??