You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
415 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Net.Sockets;
  4. using System.Text;
  5. namespace Apewer.Internals
  6. {
  7. internal class TcpBuffer
  8. {
  9. /// <summary>TCP 传输缓冲区大小。</summary>
  10. public const int Size= 8192;
  11. public Socket Socket;
  12. public byte[] Buffer;
  13. public TcpBuffer()
  14. {
  15. Buffer = new byte[Size];
  16. }
  17. }
  18. }