Checking xml socket connection

hello all,

does any one know how to check if an xml socket connection was made? i mean the code for it.

please help me out.

korkor5:red: