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

18 Replies, 2147 Views

Hey everyone,

So, I’m trying to figure out how to write to a socket via curl. I’ve been messing around with raw socket communication, but I’m kinda stuck.

I know curl is usually for HTTP stuff, but I heard it can handle raw sockets too? Like, sending plain text or binary data directly.

Anyone got a quick example or tips on how to write to a socket via curl?

Also, is there a specific flag or option I’m missing? I tried `--raw` or `--tcp`, but no luck lol.

Thanks in advance! 🙏

(PS: sorry if this is a noob question, still learning!)

Messages In This Thread
How can I write to a socket via curl? Need help with raw socket communication! - by - 28-09-2024, 03:43 PM



Users browsing this thread: 2 Guest(s)