TCP/IP Protocol

Send File Contents two way communication Java

Before going into the details of this server-to-client communication, it is advised to go through Networking – Introduction and Communication with TCP/IP Protocol to know the terms and basics of networking and the way Java supports. This is the first application (second one being chat application) in two-way communication. In one-way communication, either client sends …

Send File Contents two way communication Java Read More »

Chat Program two way communication Java

Chat Program Java is a continuous communication between two systems. Networking chapter also (apart threads, DS etc.) proves that Java language is simple to develop applications that are difficult (requires extra practice and experience) in other languages. Before going into the details of client-server communication, it is advised to go through Networking – Introduction and …

Chat Program two way communication Java Read More »

Server to client Example Java

Before going into the details of this server-to-client communication, it is advised to go through Networking – Introduction and Communication with TCP/IP Protocol to know the terms and basics of networking and the way Java supports. Total 4 applications are available on TCP/IP sockets. Application Number Functionality 1st application Client to server communication (one-way) 2nd …

Server to client Example Java Read More »

Client to Server Example Java

Before going into the details of client-to-server communication, it is advised to go through Networking – Introduction and Communication with TCP/IP Protocol to know the terms and basics of networking and the way Java supports. This is the first application in one-way communication. In one-way communication, here, client sends to server but server does not …

Client to Server Example Java Read More »

Communication with TCP/IP Protocol Java

Java is very strong in communication world. To support, LAN programming, the java.net package comes with two classes Socket and ServerSocket. The meaning and purpose these classes and network related basics, you have studied in Networking – Introduction. Socket and ServerSocket are extensively I/O streams for data traversal and for this reason, sockets are called …

Communication with TCP/IP Protocol Java Read More »