I'm having problem with sending favicon.ico to a webbrowser (Opera). It seems that I can't send it.
if (%get) {
var -s %page $right(%get,$calc($len(%get) - 1))
var -s %page2 $gettok(%page,1,32)
if (%page2) {
if (%get == /favicon.ico) {
if ($exists($mircdirstats\favicon.ico )) {
echo -s Trying to send favicon.ico
sockwrite idle.c $mircdirstats\favicon.ico
}
}
}
}
and in status window
*** Set %page to favicon.ico
*** Set %page2 to favicon.ico
Trying to send favicon.ico
What should the /sockwrite command be?
Perhaps the .ico is invalid, and that's why Opera won't accept it? How to confirm that?