Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Notorious question on Sockets

 
Suresh Chidambaram
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
One has been reading a lot of reference to the notorious question on sockets in the forum. Can someone please give an indiation of what topic in sockets it is about and any reference material on sockets, studying which might help answer the question??
Thanks very much for any help
------------------
Romba Chinna Thambi
 
Lee Feder
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh,
I too posted a similar question last week but as yet I haven't had any replies.
From what I have read on this site and others, it seems that you only need to be aware of what a socket is (a connection between two machines) and that they have an InputStream and an OutputStream.
I would imagine any question about sockets would be about reading from and/or writing to a socket. I don't think you have to have an indepth knowledge.
Sockets are mentioned in RHE so it's worth reading that, otherwise read the Sun API docs.
I'm taking the exam in just over a week so if anyone does know the answer, please reply to this thread or to my earlier thread http://www.javaranch.com/ubb/Forum24/HTML/003056.html.
Lee.
 
rajsim
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not worry too much about sockets and concentrate on streams.
If you know streams well, you should be safe.
 
Suresh Chidambaram
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much rajsim and Lee.
While on streams:
What is the level of knowledge required in streama. Should one know all the inheritance hierarchy and the details of methods in each implementation of Input stream etc. and which class implements which interface, inherits from which class etc??thanks in advance...
------------------
Romba Chinna Thambi
 
Suresh Chidambaram
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much rajsim and Lee.
While on streams:
What is the level of knowledge required in streama. Should one know all the inheritance hierarchy and the details of methods in each implementation of Input stream etc. and which class implements which interface, inherits from which class etc??thanks in advance...
------------------
Romba Chinna Thambi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic