Unix socket is easy to understand as compared to Windows.... I am a unix users ...but please it would be better if you explain the above code