Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            MineSocket ms     = new MineSocket();
            int        svrcnt = ms.MineSocketStart();

            if (svrcnt == 0)
            {
                tbStatus.AppendText("비동기 소켓서버가 시작되었습니다.");
            }
        }
Exemple #2
0
        static void Main(string[] args)
        {
            MineSocket ms = new MineSocket();

            ms.MineSocketStart();
        }