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
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
Comment