Select a port available to make an outbound call. Kick the thread responsible for that port, and call the specified DLL and method. The algorithm is to first search ports that are designated for outbound only. It starts with the highest port and works down. If no outbound only ports are available, it will find ports designated as INOUT. It starts with the highest port and works down.
[Visual Basic] Public Function LaunchOutboundCall( _ ByVal module As String, _ ByVal method As String, _ ByVal namespaceDotClass As String, _ ByVal userData As Object _ ) As Integer