Media.net interview question

Code using socket programming and develop a application