Skip to content

sjashwin/Networking-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Networking Experiments Using Java

It is more of a tutorial for newbies in Java and trying to learn network programming in JAVA. This contains all the programs that are required for a newbie in network programming using JAVA. This could be useful to all undergrad students who are willing to learn network programming in JAVA.

  1. Socket Communication.
  2. Client Server Echo TCP and UDP.
  3. Client Server chat TCP and UDP.
  4. Remote Method Invocation (RMI) .
  5. HTTP Connection.

Socket

End point of a two-way connection (Terminal) which is given a port number. A network is combination of an ip address and a port number.

Port

Port is an apartment number and a socket is an apartment.

Transmission Control Protocol (TCP)

```java Socket socket = new Socket( String host, int port ) ; //Client side Socket socket = new Socket ( int port ) ; //Server side ```

User Datagram Protocol (UDP)

```java DatagramSocket socket = new DatagramSocket( int port ) ; //Both client and server side. ```

Documentation

About

Networking laboratory experiments basics.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages