public void Send(string packet)
{
try
{
byte[] data = Encoding.ASCII.GetBytes(packet + "\x00");
this.Socket.Send(data);
Utilities.Logger.Debug("Sended @packet to client@ : " + packet);
}
catch (Exception e)
{
Utilities.Logger.Error("Can't @send packet@ : " + packet);
}
}