mhahnFr / GNLServerTest

This is a test for the 42cursus-get_next_line. It can test wether the GNL can read over an internet connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  .#####.      ';#########.        ######        ';#########.        
 ##     ##       ##      ##      ##      ##        ##      ##        
  ##             ##     .#`     ##        ##       ##     .#`        
    ##           ##----#`      ##          ##      ##----#`          
     ###    #    ##        #   ##          ##  #   ##   ##.     #    
       ##        ##             ##        ##       ##    '##.        
##    ##         ##              '#.    .#'        ##      '##.    .#
 '####`       '..##...'            '####'       '..##...'      '###` 
                                      ##.                            
       ,_,                             '##.,                         
       |C| mhahn                            '##.,    ,.##'           
       '-'                                       '##'                

Welcome to 42cursus/get_next_line Server Tester!

To use this tester just clone it into the folder containing your get_next_line. You can also edit the path to your get_next_line in the Makefile. To run this tester, simply type make inside of the src folder of the tester. As of now, it tests only the madatory part. Tests for the bonus part might be appended in the future. Please note: In order to run the server, you need to have a Java Runtime Environment or a Java Development Kit in version 8 or higher.

Further informations

You can also run the server application on another computer, to do so, edit the IP_ADDRESS and the PORT_NO variables in the Makefile to fit your needs. Please note: As of now, you need to provide an IPv4 address, a URL is not working (see issue #10). Then you need to run make noServer inside the src folder of the tester.

Final notes

If you have questions, you can reach me on the 42 network using my intraname: mhahn. Special thanks are going to @Nijakow, who helped me to get this started so fast. If you have improvements or further ideas, feel free to open an issue or a pull request.

About

This is a test for the 42cursus-get_next_line. It can test wether the GNL can read over an internet connection.


Languages

Language:Java 59.7%Language:C 26.2%Language:Makefile 13.2%Language:Shell 0.9%