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