25 lines
514 B
Plaintext
25 lines
514 B
Plaintext
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace SN_Server.ServerMSGS
|
|
{
|
|
public class SM_PingPong
|
|
{
|
|
private ServerMSG _sm;
|
|
private string response;
|
|
|
|
public SM_PingPong(ServerMSG sm)
|
|
{
|
|
_sm = sm;
|
|
}
|
|
|
|
public byte[] GenResponse()
|
|
{
|
|
string msg = ServerMSG.GenMsg(0xB0B0, ServerConnector.serialNr, "");
|
|
return System.Text.Encoding.ASCII.GetBytes(msg);
|
|
}
|
|
}
|
|
}
|