Compare commits
	
		
			No commits in common. "8ee168a4fe2e47ebfaa3ab16e9a8b7113c41534e" and "8ca4ea90f038c3d8c483376ff255665001f31270" have entirely different histories.
		
	
	
		
			8ee168a4fe
			...
			8ca4ea90f0
		
	
		
							
								
								
									
										21
									
								
								Main.java
								
								
								
								
							
							
						
						
									
										21
									
								
								Main.java
								
								
								
								
							| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
import java.net.ServerSocket;
 | 
					 | 
				
			||||||
import java.net.Socket;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
public class Main {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	public static void main(String[] args) throws Exception {
 | 
					 | 
				
			||||||
		try (ServerSocket serverSocket = new ServerSocket(8080)) {
 | 
					 | 
				
			||||||
			System.out.println("listening on socket 8080...");
 | 
					 | 
				
			||||||
			while (true) {
 | 
					 | 
				
			||||||
				try (Socket client = serverSocket.accept()) {
 | 
					 | 
				
			||||||
					handleClient(client);
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	public static void handleClient(Socket client) {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,9 +0,0 @@
 | 
				
			||||||
<html>
 | 
					 | 
				
			||||||
  <head>
 | 
					 | 
				
			||||||
    <title>GALLERY OF WONDERS</title>
 | 
					 | 
				
			||||||
  </head>
 | 
					 | 
				
			||||||
  <body>
 | 
					 | 
				
			||||||
    <h1>WONDERS</h1>
 | 
					 | 
				
			||||||
    <<img src="wonder.jpg" alt="WONDAH" />
 | 
					 | 
				
			||||||
  </body>
 | 
					 | 
				
			||||||
</html>
 | 
					 | 
				
			||||||
							
								
								
									
										10
									
								
								index.html
								
								
								
								
							
							
						
						
									
										10
									
								
								index.html
								
								
								
								
							| 
						 | 
					@ -1,10 +0,0 @@
 | 
				
			||||||
<<head>
 | 
					 | 
				
			||||||
  <header>
 | 
					 | 
				
			||||||
    <title>JAVA SERVER TEST</title>
 | 
					 | 
				
			||||||
  </header>
 | 
					 | 
				
			||||||
  <body>
 | 
					 | 
				
			||||||
    <h1>YEAH BOI</h1>
 | 
					 | 
				
			||||||
    <p>It fuckin werked, mate</p>
 | 
					 | 
				
			||||||
    <p><a href="gallery.html">Click here</a> for wondrous things.</p>
 | 
					 | 
				
			||||||
  </body>
 | 
					 | 
				
			||||||
</head>
 | 
					 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								wonder.jpg
								
								
								
								
							
							
						
						
									
										
											BIN
										
									
								
								wonder.jpg
								
								
								
								
							
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 122 KiB  | 
		Loading…
	
		Reference in New Issue