编程辅导 C C++ Java Python MIPS Processing 网络家教 在线辅导

编程家教 远程写代码 Debug 讲解答疑 课后答疑 不是中介,本人直接答疑

微信: ittutor QQ: 14061936 Email: ittutor@qq.com

导航

 Socket Programming in Java

1. Socket Programming in Java1. First, make sure that you have made yourself sufficiently familiar with the labenvironment to create, build and run the traditional "Hello World" program in Java.Refer to the Sun Java Getting Started Tutorial if you need help with this.2. Next, work through the Sun Sockets Tutorial, implementing the programs andreviewing other aspects of the Networking Trail as required.3. Now load the IBM tutorial on Java Sockets into your browser. Read through thesections called "Tutorial Tips" and "Socket Basics".Work through the section A simple example in the IBM sockets tutorial. Implementand run the server and client programs:1. using the address localhost (127.0.0.1) for both server and client;2. working with a partner and using the addresses of your machines as discoveredwith your HostDetails program.For guidance about other resources to help you learn Java and how to use it for socketprogramming, see the Recommended Reading and Resources sections at the bottom ofCM637 Java Network Programming

相关推荐