Sockets – Drilldown

What Is a Socket? Normally, a server runs on a specific computer and has a socket that is bound to a specific port number. The server just waits, listening to the socket for a client to make a connection request. On the client-side: The client knows the hostname of the machine on which the server [...]

Posted at 7:25 am on March 23, 2008 | leave a comment | Filed Under: Uncategorized | read on

Floating-point arithmetic

Have you ever wondered why seemingly precise floating point numbers such as 0.1 are internally stored as 0.100000005960465188081882963405? Well, in a nutshell, the answer is that floating point types use base 2 representation instead of base 10. This means that we only get an approximation even for non-recurring fractional numbers such as 0.1 or 0.345. [...]

Posted at 6:06 am on March 23, 2008 | leave a comment | Filed Under: Uncategorized | read on

 

January 2012
M T W T F S S
« Mar    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

Categories


Follow

Get every new post delivered to your Inbox.