Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: how to creat one source multiple receiver

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to creat one source multiple receiver

    hi
    i build a model one source and one reciver using instance of different classes.
    now i have problem how i send packet from one source to many reciever.i creat model of object oriented programming not neteork programming in java.
    Last edited by bhatti; December 6th, 2010 at 05:49 PM.


  2. #2
    Member
    Join Date
    Nov 2010
    Location
    New Zealand
    Posts
    32
    Thanks
    3
    Thanked 4 Times in 4 Posts

    Default Re: how to creat one source multiple receiver

    Hello Bhatti,


    I'm new here, and I'm afraid I can't offer much help.

    However, you could edit your code and make it more readable for the other members.

    You do that by writing the tag [highlight=Java] before your code and place [/highlight] behind it. Your code will look like this:

    import java.util.*
     
    public class example
    {
      int variable;
     
      public setVariable(int input)
      {
        this.variable = input;
      }
    }
    That should make it easier for people to help you.


    Best regards,

    Alice

Similar Threads

  1. source code for CD BURNER
    By zeerussia in forum Java Theory & Questions
    Replies: 0
    Last Post: October 23rd, 2010, 02:23 AM
  2. Creat a tree from list of strings
    By ayri in forum Loops & Control Statements
    Replies: 0
    Last Post: May 10th, 2010, 10:50 AM
  3. Jsp source not found
    By jadeite100 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 15th, 2010, 01:00 AM
  4. how to send a message to receiver with if else statement
    By humdinger in forum Loops & Control Statements
    Replies: 10
    Last Post: December 4th, 2009, 10:56 AM
  5. Website Source
    By expertOpinion in forum Java Theory & Questions
    Replies: 10
    Last Post: July 21st, 2009, 11:06 AM