imap.c File Reference

Check the server for greeting code '* OK' and then send LOGOUT and check for code '* BYE'. More...

Go to the source code of this file.

Functions

int check_imap (Port_T p)


Detailed Description

Check the server for greeting code '* OK' and then send LOGOUT and check for code '* BYE'.

If alive return TRUE, else, return FALSE.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: imap.c,v 1.9 2003/02/11 21:27:40 martinp Exp $

Definition in file imap.c.


Function Documentation

int check_imap Port_T    p
 

Definition at line 41 of file imap.c.

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