Hi, one more Android issue. When I try to create a TCP Connection that can’t be established, because nobody is listening on the remote address, an exception occurs, that can not be caught and crashes the whole application.
System.NullReferenceException: Object reference not set to an instance of an object
in System.Net.Sockets.TcpClient.EndConnect C#
in NetworkCommsDotNet.Connections.TCP.TCPConnection.ConnectSocket at c:\Users\Karnifexx\Documents\Visual Studio 2010\Projects\networkcomms.net\NetworkCommsDotNet\Connection\TCP\TCPConnection.cs:218 C#
in NetworkCommsDotNet.Connections.TCP.TCPConnection.EstablishConnectionSpecific at c:\Users\Karnifexx\Documents\Visual Studio 2010\Projects\networkcomms.net\NetworkCommsDotNet\Connection\TCP\TCPConnection.cs:108 C#
in NetworkCommsDotNet.Connections.Connection.EstablishConnection at c:\Users\Karnifexx\Documents\Visual Studio 2010\Projects\networkcomms.net\NetworkCommsDotNet\Connection\ConnectionCreate.cs:140 C#
in NetworkCommsDotNet.Connections.TCP.TCPConnection.GetConnection at c:\Users\Karnifexx\Documents\Visual Studio 2010\Projects\networkcomms.net\NetworkCommsDotNet\Connection\TCP\TCPConnectionStatic.cs:171 C#
in NetworkCommsDotNet.Connections.TCP.TCPConnection.GetConnection at c:\Users\Karnifexx\Documents\Visual Studio 2010\Projects\networkcomms.net\NetworkCommsDotNet\Connection\TCP\TCPConnectionStatic.cs:55 C#