Home Forums Support Connection Establish/close handler example Reply To: Connection Establish/close handler example

#783
Anonymous
Inactive

Hi Developers,

I have the following in my code.

NetworkComms.AppendGlobalConnectionEstablishHandler(onConnection);
NetworkComms.AppendGlobalConnectionCloseHandler(onConnectionClose);
_tcpInfo = new ConnectionInfo(endpoint);
client = TCPConnection.GetConnection(_tcpInfo);

However, when the client establishes the connection with the server, the onConnection method is never fired on the client side when the connection with the server is successful.

On the server side, I have similar code and the method fires.

However, I need my client to know that it was successful connecting to the server and proceed.

Any assistance would be appreciated.