How to send message between wireless and wired Lan?

5 posts / 0 new
Last post
Offline
Last seen: 6 years 11 months ago
Joined: 08/24/2016
Posts: 11
How to send message between wireless and wired Lan?

Hi everyone,

I have a question about sending message from Lan (PC) to Wireless Lan (Notebook). I have used hello_simple (including HelloPublisher.java and HelloSubscriber.java file) for testing.

I have no problem with Lan (PC to PC and PC to Notebook by Lan network), it can send and receive message. However, it does not work between LAN (PC) and Wireless LAN (Notebook).

Could you please advise me how to solve this problem? 

Thank you very much.

Regards,

Chane

rip
rip's picture
Offline
Last seen: 4 days 16 hours ago
Joined: 04/06/2012
Posts: 324

what are the results of ifconfig (or ipconfig, depending on what OSs being used). This might help.

If the two systems (wired, not wired) are different sub-nets, then what you are seeing is expected behavior.  You can alter the TTL of the multicast network until they see each other (if supported by your routers).  Or you can tell the application to target the specific not-wired IP address as a remote target in the NDDS_DISCOVERY_PEERS using any of the methods described.

rip

Offline
Last seen: 6 years 11 months ago
Joined: 08/24/2016
Posts: 11

Thank you so much RIP. Definitely, this is different IP address between my Labtop and my PC. I also use the same the operating system (win 7 64 bit).

I just want to know that the message can be sent accross between them or not?

I will follow your step and I will let you know the result of it.

Regards,

Chane

rip
rip's picture
Offline
Last seen: 4 days 16 hours ago
Joined: 04/06/2012
Posts: 324

It's rip, not RIP.  RIP is an acronym for Return Instruction Pointer.  rip is a nickname.

Don't worry about IP addresses.  Worry about the subnet the two devices are on.  If they are on a different subnet, the default settings will not allow them to exchange data. 

 

Offline
Last seen: 6 years 11 months ago
Joined: 08/24/2016
Posts: 11

Hi rip, 

After I setup NDDS_DISCOVERY_PEERS in Environment Variables, it work well. Thank you so much for you advice.

Regards,

Chane