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
24 lines
415 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net.Sockets;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Internals
|
|
{
|
|
internal class TcpBuffer
|
|
{
|
|
|
|
/// <summary>TCP 传输缓冲区大小。</summary>
|
|
public const int Size= 8192;
|
|
|
|
public Socket Socket;
|
|
public byte[] Buffer;
|
|
|
|
public TcpBuffer()
|
|
{
|
|
Buffer = new byte[Size];
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|