Click here to Skip to main content
15,890,186 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dose any one know how to implement CIP in Ethernet/ip realtime RTP in c++??

if you could give me code example.

thanks,
Ari
Posted

1 solution

yes but i won't give a code example without you trying.

what you need to learn and implement:
1. learn to make and use UDP sockets
2. rtp is an application level wrapper than comes after UDP data layer, you'll need to interpret the initial binary bytes of the UDP payload to interpret rtp
 
Share this answer
 
Comments
Member 7831945 4-May-11 10:09am    
Desr Albert,
I have done the UDP server ready. Could you please give me a small CIP example! I need this to be done by end of the week.:(

Thanks,
Ari
Albert Holguin 4-May-11 10:11am    
sorry, life just doesn't work that way. you have to give it a try and i'll help, but you get nothing for not trying
Member 7831945 4-May-11 10:20am    
Wow Thanks man, But I thought we all togeather can make life easier ;) If you could give me more info about it?
Aria
Albert Holguin 4-May-11 10:36am    
We help, not bail out... :) ... Anyway, the current RTP standard is version 2 (http://tools.ietf.org/html/rfc3550), I would start out by reading a generic definition (http://en.wikipedia.org/wiki/Real-time_Transport_Protocol). You'll find the generic definition tells you just about everything you need to implement RTP, any clarification can be found in the standard. I implemented my RTP handler in one day.
Member 7831945 4-May-11 10:41am    
Thanks Albert, Will go have a look at all this right now..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900