Hi, Not sure, but I think I stumbled on what may be a problem with the session_identification() function... Shouldn't the strncmp() at the bottom of the function only be executed if the done flag is true? Seems to me that this could cause a crash because ses.remoteident may be NULL. Ed