How can I write to a socket via curl? Need help with raw socket communication!

18 Replies, 2207 Views

Yo! I feel you, curl isn’t the best tool for raw socket communication. You can kinda hack it by using `--data-binary` and `--output` flags, but honestly, it’s a pain.

For writing to a socket via curl, you might wanna look into `socat` or even Python’s `socket` module. Way easier to handle raw data that way.

Messages In This Thread



Users browsing this thread: 1 Guest(s)