Stieg Larsson: Millenium # 1
The Girl with the Dragon Tattoo by Stieg Larsson
Great piece of work.. Lisbeth and Blomkvist won't let you keep the book down.
View all my reviews
The Girl with the Dragon Tattoo by Stieg Larsson
Great piece of work.. Lisbeth and Blomkvist won't let you keep the book down.
View all my reviews
Posted by
Pranay Dharmale
at
11:20 AM
0
comments
Recently I came across this trivial problem of checking whether a server is ONLINE or OFFLINE. I tried "Ping" command but the following approach was more elegant.
$host = "127.0.0.1"; // could be any host address
$port = "80"; // port you wanna check
$fp = @fsockopen($host, $port, $errno, $errstr, 2);
if (!$fp) {
echo "DEAD";
}
else {
echo "ALIVE";
}
Posted by
Pranay Dharmale
at
1:28 AM
0
comments
If you got a "Launch Failed. Binary Not Found" error while running C/C++ project in Eclipse on a Windows 7 machine then you are not the only one. I came across similar problem and I have tried my best to give a terse solution. The reason for this issue might be because Eclipse doesn't understand the 64 bit binaries generated by our Windows 7 Though, I'm not sure. Okay, back to our problem.
Posted by
Pranay Dharmale
at
9:02 AM
6
comments
Labels: c, c++, cdt plugin, eclipse, windows 7
Hi,
It seems a very trivial problem that when 2 programs try running on the same port numbers, they conflict with each other. I came across this problem when my Apache Server stopped working. The culprit was Skype. I installed Skype recently and as far as I knew, it used its own unique port number. But, as I delved further, I found that Skype also uses port 80 (which is default port for almost all HTTP servers) and port 443 as alternate ports :O.
To solve this, Open Skype --> Tools --> Options --> Advanced --> Connection --> Uncheck the use of port 80 and 443 as alternate ports.
Posted by
Pranay Dharmale
at
2:50 AM
0
comments
Labels: technical
Posted by
Pranay Dharmale
at
12:37 PM
1 comments
Labels: gyan