PageRenderTime 68ms CodeModel.GetById 66ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Manos.IO/Manos.IO/ITcpServerSocket.cs

http://github.com/jacksonh/manos
C# | 15 lines | 9 code | 2 blank | 4 comment | 0 complexity | 3191c4cc277b2e4c56d945f0c2b87746 MD5 | raw file
 1using System;
 2using System.Net;
 3
 4namespace Manos.IO
 5{
 6	public interface ITcpServerSocket : ISocket<IPEndPoint>
 7	{
 8		/// <summary>
 9		/// Listen for new connections, invoke the specified delegate for each accepted
10		/// connection.
11		/// </summary>
12		void Listen (int backlog, Action<ITcpSocket> callback);
13	}
14}
15