Client sockets that performs a GET request to any website on each run.
- Make sure you have
python 3.6.5
onwards installed - Run
python3 src/client_socket.py <hostname> <port>
(i.g.python src/client_socket.py www.google.com 80
)
- Compile it:
gcc src/client_socket.c -o <file_name>
(i.g.gcc src/client_socket.c -o client_socket
) - Run it:
./<file_name> <hostname> <port>
(i.g../client_socket www.google.com 80
)
- Make sure you have
go 1.12.5
onwards installed - Run
go run src/goClientSocket/clientSocket.go --hostname <hostname> --port <port>
(i.g.go run src/goClientSocket/clientSocket.go --hostname www.google.com --port 80
)
- Make sure you have
lua 5.2
onwards installed and Lua's socket helper - Run
lua src/client_socket.lua <hostname> <port>
(i.g.lua src/client_socket.lua www.google.com 80
)