mirror of
https://e.coding.net/circlecloud/SixiBroadcast.git
synced 2024-11-23 11:58:46 +00:00
Updata...
This commit is contained in:
parent
1e83160bc1
commit
c7e7be1083
@ -29,13 +29,11 @@ namespace UDPServer
|
|||||||
//启动客户端监听
|
//启动客户端监听
|
||||||
Thread t = new Thread(new ThreadStart(ClientThread));
|
Thread t = new Thread(new ThreadStart(ClientThread));
|
||||||
t.Start();
|
t.Start();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void button_Click(object sender, EventArgs e)
|
private void button_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
foreach (var item in userinfo)
|
foreach (var item in userinfo)
|
||||||
{
|
{
|
||||||
byte[] buf = Encoding.Default.GetBytes("用户: " + item.Key + " 消息: " + msg.Text);
|
byte[] buf = Encoding.Default.GetBytes("用户: " + item.Key + " 消息: " + msg.Text);
|
||||||
|
Loading…
Reference in New Issue
Block a user