help!!! Array list loop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • truezplaya
    New Member
    • Jul 2007
    • 115

    help!!! Array list loop

    Hey
    Once again i'm stuck. I have an arrayList of members and i wish to cycle through this list and send a message to all connected members of that list.Here is what i thought would work. Please bare in mind that this works over a network and involves sockets.
    [code]
    for(member user:memberList )
    //(something to do with sockets here i think?????)
    output.println( recieved)
    [code]

    I think i am missing something to do with sockets but i am unsure could someone verify that for me and then point me in the right direction. This is for my assignment so i would like to put as little code up as possible.

    Truez
  • truezplaya
    New Member
    • Jul 2007
    • 115

    #2
    Don't worry about this me just being silly stupid

    I've got it sorted;)
    Truez

    Comment

    Working...