It's not a secret anymore!
The moose likes Java in General and the fly likes Question about Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Question about "socket"

Daniel Washington
Ranch Hand

Joined: Oct 26, 2002
Posts: 53
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 !

IBM 141<br />IBM 285,286<br />IBM 700
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
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
This topic is now closed. Thank you
[ November 26, 2003: Message edited by: Valentin Crettaz ]

[Blog] [Blogroll] [My Reviews] My Linked In
I agree. Here's the link:
subject: Question about "socket"
It's not a secret anymore!