Vērtējums:
Publicēts: 01.10.2004.
Valoda: Angļu
Līmenis: Vidusskolas
Literatūras saraksts: Nav
Atsauces: Nav
  • Konspekts 'Programming Sockets in Java', 1.
  • Konspekts 'Programming Sockets in Java', 2.
  • Konspekts 'Programming Sockets in Java', 3.
  • Konspekts 'Programming Sockets in Java', 4.
Darba fragmentsAizvērt

Programming sockets in Java and writing simple SMTP client.
Programming sockets in Java
In this section we will answer the most frequently asked questions about programming sockets in Java. Then we will show some examples of how to write client and server applications.
Note: In this tutorial we will show how to program sockets in Java using the TCP/IP protocol only since it is more widely used than UDP/IP. Also: All the classes related to sockets are in the java.net package, so make sure to import that package when you program sockets.
How do I open a socket?

Atlants