I wanna to create a client-server application and need to transfer various kinds of information between C-S(Client-Server),these information includes identity validation ,talking and some others .And my question is : Can i declare numbers of input streams and output streams in a single socket connection just like"new data input stream (socket.get input stream() )"? If yes ,how can i do that ? if no , does that mean i should create numbers of input(output)streams for each kinds of information using numbers of socket connection ? Your kindly attention will be highly appreciated !
Please do not crosspost the same topic in multiple forums. I'm moving this thread to the Sockets and Internet Protocols forum. Please continue this discussion at http://www.coderanch.com/t/206039/sockets/java/socket This topic is now closed. Thank you [ November 26, 2003: Message edited by: Valentin Crettaz ]