I want Only - Winsock API code for a Visual Basic program. I want to check if a port (tcp/udp) is being used or if it's available for use. For example: Function CheckPort(Port&) as long ' your code here function = %True if open else function = %False if closed End Function If CheckPort(MyPort&) = %True then MsgBox "Port is being used!" Else MsgBox "Port is Closed" End If
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.