https://github.com/marcelovicentegc/client-socket
⚽️ A collection of client sockets written in C, Go, Python and Lua.
https://github.com/marcelovicentegc/client-socket
c client-socket computer-network golang lua python socket socket-programming tcp
Last synced: about 1 month ago
JSON representation
⚽️ A collection of client sockets written in C, Go, Python and Lua.
- Host: GitHub
- URL: https://github.com/marcelovicentegc/client-socket
- Owner: marcelovicentegc
- License: mit
- Created: 2019-09-15T01:40:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-19T19:32:32.000Z (over 6 years ago)
- Last Synced: 2025-05-21T13:19:31.635Z (about 1 year ago)
- Topics: c, client-socket, computer-network, golang, lua, python, socket, socket-programming, tcp
- Language: C
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚽️ client-socket
Client sockets that performs a GET request to any website on each run.
## Directions
### Python
1. Make sure you have `python 3.6.5` onwards installed
2. Run `python3 src/client_socket.py ` (i.g. `python src/client_socket.py www.google.com 80`)
### C
1. Compile it: `gcc src/client_socket.c -o ` (i.g. `gcc src/client_socket.c -o client_socket`)
2. Run it: `./ ` (i.g. `./client_socket www.google.com 80`)
### Go️
1. Make sure you have `go 1.12.5` onwards installed
2. Run `go run src/goClientSocket/clientSocket.go --hostname --port ` (i.g. `go run src/goClientSocket/clientSocket.go --hostname www.google.com --port 80`)
### Lua
1. Make sure you have `lua 5.2` onwards installed and [Lua's socket helper](https://github.com/diegonehab/luasocket)
2. Run `lua src/client_socket.lua ` (i.g. `lua src/client_socket.lua www.google.com 80`)