Made port a long long for error checking purposes