LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect laptop to router by using udp receiver

I try to communicate between computer and laptop via router. Computer connect to router by wire. laptop have Wireless Mini Card. I open udp receiver to connect to router. How to connect to router ? what is net address number ? and what is port number ? how to find them ?

0 Kudos
Message 1 of 11
(3,708 Views)
You can only connect to a router port if the router is running a service that Allows you to do so. What kind of connections are you trying to do? The net address is the ip address in u32. The port is determined by the service you want to access. What do you actually want to do with all this? We need much more info. Router model?
0 Kudos
Message 2 of 11
(3,701 Views)

Linksys wireless-G broadband router with speed booster 2.4GHz 802.11g

0 Kudos
Message 3 of 11
(3,696 Views)
You are still not saying what sevice you are trying to acesss. Ther are not that many udp services (maybe SNMP?) available. Do you know the communication protocol? Is it a service that requires authentication?
0 Kudos
Message 4 of 11
(3,692 Views)
If you simply want to receive syslog messages, just have the program listen on the syslog por and configure the router to send syslog to the ip address of the computer.
0 Kudos
Message 5 of 11
(3,690 Views)

I need to comnunicate between two laptop so that I can send data  to and receive data from.

 

 

0 Kudos
Message 6 of 11
(3,680 Views)

OK, that is something entirely different!

 

You should be able to use plain networking. The router is only relevant if it is running NAT and you are trying to connect from the WAN to the LAN side. In this case you need to forward the correct ports on the router due to the target ambiguity.

0 Kudos
Message 7 of 11
(3,672 Views)

In this case you need to forward the correct ports on the router due to the target ambiguity. how to do this ?

 

0 Kudos
Message 8 of 11
(3,669 Views)

This is not related to LabVIEW, but basic networking.

 

Try this.

0 Kudos
Message 9 of 11
(3,662 Views)

1. Computer A connect to router via cable . laptop B connect to router via wireless

2. identify net address of them by using String to IP vi function

3. run UDP sender.Vi in Computer A and run UDP receiver .vi in laptopB.

4. then send data from computer A

  However, I do not receive any data in Laptop B. Could you help me to solve this issue

0 Kudos
Message 10 of 11
(3,650 Views)