コード例 #1
0
 public void WritePacket(Packet packet)
 {
     BinaryFormatter formatter = new BinaryFormatter();
     formatter.Serialize(this._client.GetStream(), packet);
 }
コード例 #2
0
 public void WritePacket(Packet packet)
 {
     formatter.Serialize(this._client.GetStream(), packet);
 }
コード例 #3
0
 public void writePacket(Packet packet)
 {
     formatter = new BinaryFormatter();
     formatter.Serialize(this.form.Client.GetStream(), packet);
 }