Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Question about "socket"

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 !
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 https://coderanch.com/t/206039/sockets/java/socket
This topic is now closed. Thank you
[ November 26, 2003: Message edited by: Valentin Crettaz ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic