ListenerInfo.cs 929 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Net;
  6. using System.Security.Authentication;
  7. namespace SuperSocket.SocketBase
  8. {
  9. /// <summary>
  10. /// Listener inforamtion
  11. /// </summary>
  12. [Serializable]
  13. public class ListenerInfo
  14. {
  15. /// <summary>
  16. /// Gets or sets the listen endpoint.
  17. /// </summary>
  18. /// <value>
  19. /// The end point.
  20. /// </value>
  21. public IPEndPoint EndPoint { get; set; }
  22. /// <summary>
  23. /// Gets or sets the listen backlog.
  24. /// </summary>
  25. /// <value>
  26. /// The back log.
  27. /// </value>
  28. public int BackLog { get; set; }
  29. /// <summary>
  30. /// Gets or sets the security protocol.
  31. /// </summary>
  32. /// <value>
  33. /// The security.
  34. /// </value>
  35. public SslProtocols Security { get; set; }
  36. }
  37. }