Hi All,
 Thanks for kind response. As u suggested I've managed network programming book of W Richard Stevens. Meanwhile .... Actually I want
a mechanism by which I can get the states of socket like these types :
AddressInUse
AddressNotAvailable
AlreadyComplete
AlreadyConnected
BadState
Closed
ConnectAborted
Is any system call or else available ...which I can use in my application . Plz let me know..!
 Thanks & Regards,
Praneet Sushil



It's Samaritans' Week. Help Samaritans help others.
Call 08709 000032 to give or donate online now at
http://www.samaritans.org/support/donations.shtm