markus / ConsoleClient / Program.cs @ 2007ecaa
이력 | 보기 | 이력해설 | 다운로드 (646 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
|
7 |
namespace ConsoleClient |
8 |
{ |
9 |
class Program |
10 |
{ |
11 |
static void Main(string[] args) |
12 |
{ |
13 |
IIpc.WcfClient wcfClient = new IIpc.WcfClient("test1"); |
14 |
|
15 |
for (int i = 0; i < 20000; i++) |
16 |
{ |
17 |
string senddata = "test :" + i.ToString(); |
18 |
|
19 |
Console.WriteLine(i.ToString() + " " + senddata); |
20 |
wcfClient.Send(i,senddata); |
21 |
|
22 |
System.Threading.Thread.Sleep(1); |
23 |
} |
24 |
|
25 |
Console.ReadLine(); |
26 |
|
27 |
} |
28 |
} |
29 |
} |