[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Cannot dissolve connect() association for rtp

From: Simon Morlat
Subject: Re: [Linphone-developers] Cannot dissolve connect() association for rtp socket
Date: Wed, 03 Feb 2010 10:29:16 +0100


Apparently windows server 2003 does not support connect()
disassociations, that is cancelling a previous connect() done on a
The question is do you really need UDP connected socket ?
You can use 
void rtp_session_set_connected_mode(RtpSession *session, bool_t yesno);
to disable connect().
Personnaly in linphone I don't use the connected mode.
The "features" brought by doing connect on a udp socket are:
1. the kernel automatically discards UDP messages that don't come from
the connected peer address
2. you are notified with "connection refused" errnos when the remote
socket is not opened or closed.

2 is nice but 1 is a problem when you don't know where the packets will
come from (common with firewalls), that's why I don't use it.


Le jeudi 28 janvier 2010 à 17:57 +0100, Petr Kuba a écrit :
> Hello,
> We've met the following problem. Ortp reports plenty of the following 
> errors:
> Cannot dissolve connect() association for rtp socket: Error code : 10047
> Cannot dissolve connect() association for rtcp socket: Error code : 10047
> Does anyone know what it means?
> This occures on Windows Server 2003 with standard IP4 network. I'm not 
> sure whether we ever met this on Windows XP.
> I've explored that 10047 stands for WSAEAFNOSUPPORT which has the 
> following description:
> Address family not supported by protocol family.
> An address incompatible with the requested protocol was used. All 
> sockets are created with an associated address family (that is, AF_INET 
> for Internet Protocols) and a generic protocol type (that is, 
> SOCK_STREAM). This error is returned if an incorrect protocol is 
> explicitly requested in the socket call, or if an address of the wrong 
> family is used for a socket, for example, in sendto.
> I'm not sure whether this could influence the problem but may be I 
> should mention that we do'nt define SO_REUSE_ADDR in ortp.
> Thanks for help,
> Petr Kuba
> _______________________________________________
> Linphone-developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]