Need a C + + function Who determines the type of protocol used by a server.

Hello dear friends,
  I have a client application that receives a broadcast stream Streaming server by vlc. I realized receive functions with UDP and RTP protocols. development is done in C + + under visual studio.
my question is: I'm looking for a suitable function that allows the client side to determine the name of the protocol used by the server during the broadcast stream.
Thank you for Rescue me!
Topic archived. No new replies allowed.