Is it possible to send raw tcp data stream using curl with php? I know that fsockopen/fputs is better choice for such sending, and surely I use them when its possible. But on some servers socket functions are disabled, and curl is enabled. So in such cases it will be very comfortably use curl, of course if its possible at all. For example I need
$fp = fsockopen($my_ip, $my_port);
fwrite($fp, "test string");
I cant use fsockopen, as it's disabled by server config. Any tips to do it with curl?