Hey i get this error
What's wrong with the red highlited line?
Code:
public void GamePacketHandler(object Sender, HybridSocket Socket)
{
try
{
Socket Sock = Socket.WinSock;
IPEndPoint IPE = (IPEndPoint)Sock.RemoteEndPoint;
string Ip = Convert.ToString(IPE.Address);
int Port = IPE.Port;
byte[] Data = Socket.Packet;
if (Socket.Wrapper != null)
{
Client Client = (Client)Socket.Wrapper;
[color=red]Client.GetPacket(Data);[/red]