Yeah that is a terrible idea.
You throw all the rules out the window for cohesion, modularity and good code design.
Type: Posts; User: yasuocodez
Yeah that is a terrible idea.
You throw all the rules out the window for cohesion, modularity and good code design.
It is bad coding because n is initialized with 5, then n is incremented to 6 and then n is equal to 6.
When n is incremented to 6 it is the same thing as saying n = n + 1; n++ is called a short hand...
lol @ the name.
That is a good inspiring read.
From my understanding of these how to do something in a few days/hours - You can only learn basics.
Learn the basics, the standards, and code over...
On your server side class when the clients socket is created/connected you can call setSOTimeout(timeout in milliseconds) on the clients socket.
When you call the read method on that socket's...