You're using concepts you don't understand? A forum is not the right place to come for tutorials; those Wikipedia pages are sure to have links to further material that will teach you the basics. If you have specific questions after working through those, you can ask them here.
By the way, what does this have to do with Sockets & Internet Protocols (which this forum is all about)?
Harivenkatesh Polnati wrote:but I didn't get what's going on?
What in particular do you not understand? You can't just expect someone to spoon-feed you all of what's already available on the web. You have to ShowSomeEffort(⇐click), TellTheDetails(⇐click) of what you don't understand, and be an active participant in your own education. A forum is not an appropriate place to get an introduction to a broad topic.
please explain with one example all these things?
No. Again, I'm sure you can find plenty of examples with a web search.
I use these concepts in my project
Then you'll need to stop studying. Post again when you have a more specific question.