recording vidio stream from vlc

hi everyone,
i want to do a c++ program that receive a stream from vlc and save it in a disk(D:\\vidéo.mp4)i supose i have to use udp sockets to get this stream but i have no idéa how to do so ,i already write a program that uses udp sockets(winsok) but it didn't work so can any one help me
thanks for your time.
Topic archived. No new replies allowed.