[Live-devel] RTSP server extending

Igor Bukanov igor at mir2.org
Tue Apr 24 01:41:32 PDT 2007


On 24/04/07, Ross Finlayson <finlayson at live555.com> wrote:
> OK, in the latest version of the software (2007.04.24, released
> today), the signature of the "specialClientAccessCheck()" virtual
> function has been chanegd to:
>         virtual Boolean specialClientAccessCheck(int clientSocket,
> struct sockaddr_in& clientAddr,
>                                                         char const* urlSuffix);
>
> Note the new "clientAddr" (it's a sockaddr_in, so it has the client's
> port as well as its IP address).

With the patch I submitted I missed that clientAddr is already
available in RTSPServer and used getpeername to obtain it from
clientSocket. The new signature saves this call. Nice!

Regards, Igor




> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>


More information about the live-devel mailing list