|It is currently Fri Apr 19, 2024 8:01 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka


Blog Links

Blog Stats
4Total Entries
3Total Comments

Search Blogs


Category Blogs 
General Articles

General blog articles related to forums area or in general things.

1

Programming

Articles related programming (java,c++,csharp,dotNet)

1


 [ 24 blog entries ]  Previous  1, 2, 3, 4, 5
Feed Random Blog Entries
how to add multiple clients to the server in java? by artigautam on Sun May 08, 2011 5:10 pm
I ve to add 2 clients to the server,chatting between these clients will be through the server.but after running these following files only Cframe1 got connected to server but second client i.e. Clientframe1 didnt...what changes should I make to connect this second client??

Serverframe.java
Code:
import java.awt.*;
import java.applet.*;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.ActionListener;
import java.net.*;
import java.io.*;
import java.lang.*;
class Serverframe extends Frame implements ActionListener
{
   Button b1,b2,b3;

   Label l1,l2,l3;

   TextField t1,t2,t3;

   TextArea t;

    boolean readSocketMem ;

    BufferedReader socketBR;


    BufferedWriter socketBW;

    Socket sref1,sref2;

   Serverframe()
   {


       setVisible(true);

      setSize(500, 500);

      setLayout(null);

      setTitle("Server Window");...


[ Continued ]

Working and Life by DrRakha on Wed Mar 16, 2011 10:06 pm
Well , I started to hate my current job ,programming and solving the same type of bugs , I lost my goal and interest in it , when I think about people around ,I see that most of them work by the relation win-to-win. They always looking for money, but in fact money is not the only thing which will make someone happy. (Yes it is important), but it is not the main reason to be happy in your life, sometimes you see a man has millions then he kills himself. Well don’t that I am rich and I will kill myself: D, actually I don’t have a car. This life is a big race … rate race. Who will win??!

4 things to note down while using wait and notify method in java by javabuddy on Fri Jun 03, 2011 2:35 pm
while using wait and notify or notifyAll method in Java following things must be remember :

1) use notifyAll instead of notify if you expect more than one thread is waiting for lock.
2)wait() and notify() method must be called from synchronized context, see the link for more detailed explanation http://javarevisited.blogspot.com/2011/05/wait-notify-and-notifyall-in-java.html.
3) Always call wait() method in loop because if multiple threads are waiting for lock and one of them got lock and reset the condition and other thread needs to check the condition after they got wake up to see whether they need to wait again or can start processing.
4) use same object for calling wait() and notify() method, every object has its own lock so calling wait() on objectA and notify() on object B will not make any sense.

Benefits from a Professional Web Design Company by quinnwd on Mon Nov 14, 2011 11:11 am
All business owners want their business to be recognized by the world. Who does want to be brush aside? Definitely, no one! Isn’t it? In business, it is not easy to acquired success and become a top seller.

It is not enough to have a good staff, products and service in order to be victorious. In business world, competition is not only banality and arduous but also formidable and intense. So, business should not be merely contented on media and print advertising. It is not enough tools to attract customers and have a high market.

Consequently, it also needs online promotional and advertising. Thus, it can only get through Web Design Company that will not only make your own business visible online but also thoroughly promote your business.

However, you might think what are the benefits will you get at web Design Company? Well, you will only get greater flexibility in your business, improved your business aesthetic and technical expertise, integrate your market and last but definitely n...

[ Continued ]

Make your business more beneficial with seo service by nilguy25 on Fri Mar 25, 2011 11:28 am
The internet has untouched the way so as to businesses sell dramatically in the onwards decade. Most businesses at the moment rely on their website to generate leads, sales or significance in the upshot or service they plug. Because of the prominence in search engines whilst it comes to driving frequent to a website, SEO Services allow increased in popularity. SEO, or search engine optimization, is the process of humanizing your website's grade in the search engines in support of keywords linking to your position.

Online marketing on the undivided has risen in popularity, with the digit of specialists in various areas growing speedily. Such areas include SEM (Search Engine Marketing) and SEO.

Both SEM and SEO consultants are particularly comfortable to come up to by online and a digit of businesses service competitively priced services of specialists they might in no way truly unite in person. But with increasing facts of SEO companies setting up in offices in cities all greater than...

[ Continued ]

 [ 24 blog entries ]  Previous  1, 2, 3, 4, 5

All times are UTC [ DST ]


cron






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com