Post transfer info

    Your friend for doing this is called and you tell it
    which specific information you’re interested in and it will return that to you
    if it can.

    The data you receive can be a long, a ‘char ‘, a ‘struct curl_slist ‘, a
    double or a socket.

    but if you want to extract the local port number that was used in that
    connection: