no particular reason... i will try fsockopen() too....
i apologize for the stupid question but isn't fsockopen() only over http?
thanks...
this is what i have so far:
if (!$s = socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) {
echo "Error:".socket_strerror(socket_last_error($s));
}
echo "did sock<br>";
if (!$e = socket_connect($s, "xx.xx.xx.xx", 00000) ) {
echo "Error:".socket_strerror(socket_last_error($s));
}
echo "connected<br>";
if (!$b = socket_send ( $s, $xml, strlen($xml), 0x2) ) {
echo "Error:".socket_strerror(socket_last_error($s));
}
echo "sent<br>";
socket_close($s);