Socket Programming in Java, Simple Examples

To compile :

1. TCP

2. HTTP