Skip to main content
Participant
June 22, 2011
Question

NetGroup.Neighbor.Connect not working?

  • June 22, 2011
  • 1 reply
  • 1282 views

Hi, i got a problem.

I tried to use NetGroup, but it seems that the peers can't see each other when they connect to my FMS4. I can only get NetGroup.Connect.Success but no NetGroup.Neighbor.Connect.

The same code can work fine if connecting to Cirrus, so maybe it's not about my firewall or NAT problems.

I made two pages for testing. Each of them launchs two instances with same group name.

Here is the one connecting to my FMS4:

http://labs.medialand.com.tw/jason/fms/test_fms4.html

AS code: http://labs.medialand.com.tw/jason/fms/fms4test.txt

And this connecting to Cirrus:

http://labs.medialand.com.tw/jason/fms/test_cirrus.html

AS code: http://labs.medialand.com.tw/jason/fms/cirrustest.txt

Please really need help.

Thanks!

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    June 22, 2011

    Hi,

    Thanks for trying RTMFP and Cirrus. And sorry for the little delay in replying.
    I have not used Cirrus, but i had one query, what is the application that you connect to on cirrus for this ? I didn't see any app mentioned in the URL you used. Since the connections are made, I guess there must be some default app on Cirrus which takes these connections. If that's so, that app is helping in 'neighboring' your client apps. This has to be replicaed in your 'test1' application also.

    Can you let me know the code in your test1 app please ?


    You need to pass the bootstrap info from one client to another to get connected to each other. Please let me know if you could do that. I should have some sample application to demonstrate this, but if you already go the idea, you can do in your own way.

    Thank you !

    Nikhil_Kalyan
    Participating Frequently
    June 22, 2011
    Participant
    June 23, 2011

    Thanks for your reply.

    I've read the topic already, thanks, but I think my situation is different.

    The situation is, I can't get NetGroup.Neighbor.Connect event while another client with same group name connecting to my FMS, hence the communication between clients is no use.

    But, if I changed the code to connect to Cirrus, it worked, NetGroup.Neighbor.Connect event happened.

    I didn't have any server side script in both testings. All I did is let the client connecting to the server, FMS or Cirrus.

    So, I am wondering is it possible that i have to modify some parameters in my FMS settings?

    Thanks~