/*
Sog 游戏基础库
2016 by zouwei
*/
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace Sog
{
///
/// Client socket settings.
///
public class ClientSessionSettings
{
public ClientSessionSettings(int bufferSize, IPEndPoint remoteEndPoint, ProtocolType type)
{
BufferSize = bufferSize;
RemoteEndPoint = remoteEndPoint;
ProtoType = type;
}
///
/// Gets the size of the buffer.
///
/// The size of the buffer.
public int BufferSize { get; private set; }
///
/// Gets the remote end point.
///
/// The remote end point.
public IPEndPoint RemoteEndPoint { get; private set; }
public ProtocolType ProtoType { get; private set; }
}
}