UdpClient receive on broadcast address

前端 未结 4 1598
感动是毒
感动是毒 2020-12-01 15:03

In c# I am using the UdpClient.Receive function:

public void StartUdpListener(Object state)
    {
        try
        {
            udpServer = new UdpClient         


        
4条回答
  •  北海茫月
    2020-12-01 15:40

    There's nothing wrong with the way you have configured your UdpClient. Have you tried a different port number? Perhaps 1234 is already in use on your system by a different app.

提交回复
热议问题