コード例 #1
0
        public void SendSize(int s)
        {
            var packet = new IPPacket(Packet.BufferSize);

            try
            {
                packet.Write(s);
                Send(packet);
                packet.Dispose();
            }
            catch (Exception e)
            {
                "sending size error".Print();
            }
            finally
            {
                packet.Dispose();
            }
        }