when i called mgr.openChannel(“Beer”);
in the server side it did open a channel but the ID seems to be the same as the first one i create
how can i determine that i have created a channel “Beer”
when i called mgr.openChannel(“Beer”);
in the server side it did open a channel but the ID seems to be the same as the first one i create
how can i determine that i have created a channel “Beer”
it would really be nice if anyone out there help me with this thanks alot!
nevermind… solved
What was the problem?
Endolf
some mistakes makes by newbies…
haha
well i place my ’ dccChannel = channel; ’ in side the loop thats why it doesn’t work.
public void joinedChannel(ClientChannel channel) {
[font=Verdana]dccChannel = channel;[/font]
if (channel.getName().equals(DCC_CHAN_NAME)) {
// previously it’s here
dccChannel.setListener(new ClientChannelListener() {
public void playerJoined(byte[] playerID) {}
public void playerLeft(byte[] playerID) {}
public void dataArrived(byte[] from, ByteBuffer data,boolean reliable)
{