Hi,I am creating an app to connect to a server. The server will send data tothe connected clients at unpredictable times.My question is "what is the best way to handle reading data from the socket"?What I have done is create a "tcpSocket" class which will open the connectionto the server. The tcpSocket object then instantiates another object called"tcpListen" on its own thread. This object loops indefinately trying toread data from the server. This gives me the ability to read and write datato the socket at the same time. Does this approach make sense? Is therea different approach? Should I just have a tcpSocket.read method and letthe program handle reading from the socket?Thanks,Ed...