PRInt32 ExtractPortFrom(char* src, int start, int length)
static PRInt32 ExtractPortFrom(char* src, int start, int length)
PRInt32 ExtractPortFrom(char* src, int start, int length){    char* port = new char[length +1];    PRInt32 returnValue = -1;    if (!port)        return returnValue; // ERROR!    PL_strncpyz(port, src+start, length+1);    returnValue = atoi(port);    delete[] port;    return returnValue;}