private void conIn(IAsyncResult ar)
{
TcpClient c = server.EndAcceptTcpClient(ar);
if (c != null)
{
if (POP3incomming != null)
{
POP3incomming(c);
}
else
{
try
{
c.Client.Send(Encoding.ASCII.GetBytes("+ERR <nelson>HAHA</nelson>"));
}
catch
{
//NOOP
}
c.Client.Disconnect(false);
c.Close();
}
IA=server.BeginAcceptTcpClient(new AsyncCallback(conIn), null);
}
}