Listening to Port 5060

前端 未结 1 1517
说谎
说谎 2020-12-20 09:04

I developing an SIP client. For this I must listen to port 5060 for incoming SIP Server messages. For this I coded something. (Also I take admin rights in program.)

<
1条回答
  •  囚心锁ツ
    2020-12-20 09:42

    It seems that you were running two applications, and they are trying to access the same socket.

    What Microsoft says about your problem:

    WSAEACCES (10013)

    • Translation: Permission denied
    • Description: An attempt was made to access a socket in a way that is forbidden by its access permissions. For example, this error occurs when a broadcast address is used for sendto but the broadcast permission is not set by using setsockopt(SO_BROADCAST).

      Another possible reason for the WSAEACCES error is that when the bind (Wsapiref_6vzm.asp) function is called (in Microsoft Windows NT 4 .0 Service Pack 4 [SP4] or later), another program, service, or kernel mode driver is bound to the same address with exclusive access. Such exclusive access is a new feature of Windows NT 4.0 SP4 and later, and it is implemented by using the SO_EXCLUSIVEADDRUSE option.

    0 讨论(0)
提交回复
热议问题