pop.c File Reference

Check the server for greeting code +OK, then send QUIT and check for code +OK. More...

Go to the source code of this file.

Functions

int check_pop (Port_T p)


Detailed Description

Check the server for greeting code +OK, then send QUIT and check for code +OK.

If alive return TRUE, else, return FALSE.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: pop.c,v 1.8 2002/12/21 13:56:04 hauk Exp $

Definition in file pop.c.


Function Documentation

int check_pop Port_T    p
 

Definition at line 41 of file pop.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.