public void WritePacket(Packet packet) { BinaryFormatter formatter = new BinaryFormatter(); formatter.Serialize(this._client.GetStream(), packet); }
public void WritePacket(Packet packet) { formatter.Serialize(this._client.GetStream(), packet); }
public void writePacket(Packet packet) { formatter = new BinaryFormatter(); formatter.Serialize(this.form.Client.GetStream(), packet); }