-1

How do the server sockets and the sockets are bind in Java

5
  • 2
    Much like in C. See Socket, et al. Commented Apr 15, 2011 at 7:38
  • Have you looked at stackoverflow.com/questions/471342/java-socket-programming Commented Apr 15, 2011 at 7:41
  • Network programming is best learned via an introductory text, rather than hoping someone will come along with an excellent answer. If you just want to know how to drive Java, this wikipedia page on Nio may be useful. If you're completely new to sockets programming, TCP/IP Illustrated Vol 1 is an excellent starting point. (But old. Ignore all T/TCP TCP-transactions references. It never materialized. Also, I can't recall if it ever mentioned IPv6, but I can't imagine it covered it in enough depth.) Commented Apr 15, 2011 at 7:42
  • Google is a better place to ask such questions. google.co.uk/… over 17 million results. Commented Apr 15, 2011 at 7:46
  • Check out this tutorial, it is easy and compact: hippieitgeek.blogspot.se/2012/12/… Commented Jan 11, 2013 at 23:11

2 Answers 2

2

Please. There are about a gazillion sources on the Internet that show how to work with sockets. Start by looking at the Documentation for Socket and ServerSocket. If this doesn't help you have to get more specific.

Sign up to request clarification or add additional context in comments.

Comments

2

Maybe I misunderstand the question, but if you want to do Java socket programming, there is a decent tutorial and explanation of sockets in Java to be found at http://download.oracle.com/javase/tutorial/networking/sockets/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.