/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
- using System;
- using System.Net;
- namespace Manos.IO
- {
- public interface ITcpServerSocket : ISocket<IPEndPoint>
- {
- /// <summary>
- /// Listen for new connections, invoke the specified delegate for each accepted
- /// connection.
- /// </summary>
- void Listen (int backlog, Action<ITcpSocket> callback);
- }
- }