Thank you Damcoles for the reply.
What i need to understand is the function session_connect(session_name) should connect a single player game to a multiplayer client session with the session_name server name. Now in my code i am able to start a multiplayer session and but with session_connect i am not able to connect to the already started server on the same machine. this is a bug i feel and hence conitec should correct it or not give this function as it is useless if it doesnt work.