A programmatic time-gap defect correction apparatus and method corrects errors which may go undetected by a computer system. The method includes connecting, by a controller, a multimedia system mounted within a vehicle to a portable terminal and executing an application to perform the mirror link. A ratio of a number of first ports and a number of second ports is selected based on an oversubscription ratio.