I am new to socket programming.Its greek and latin to me.can someone tel me wat actually happens with socket programming.Or can u plz suggest some good links for socket programming tutorials

Socket is a technology by means of which you can establish connection with computers within network.With Socket technology you can build your own IM software.

^ BEEJ's is a classic guide. read that, and you'll learn everything you need. try the examples, and come back if you get stuck.