A semantic search engine for source code https://bitshift.benkurtovic.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
519 B

  1. package com.bitshift.parsing;
  2. import java.io.IOException;
  3. import java.net.ServerSocket;
  4. import java.net.Socket;
  5. import com.bitshift.parsing.parsers.JavaParser;
  6. public class Parse {
  7. public static void main(String[] args) {
  8. try {
  9. ServerSocket server = new ServerSocket(5033);
  10. while(true) {
  11. Socket clientSocket = server.accept();
  12. new Thread(new JavaParser(clientSocket)).start();
  13. }
  14. } catch (IOException ex) {
  15. }
  16. }
  17. }