Msg := AThread.Connection.ReadLn; AThread.Connection.ReadBuffer(Clientbuffer,SizeOf( Clientbuffer));