01-04-2008 12:51 PM
01-07-2008 01:07 PM
Hi George,
I'm assuming you're using the Simple Data Server and Simple Data Client to transmit your data. You will need to make sure that the address in the Simple Data Client has the address of the other computer you are communicating with? You will also need to replace the case structure in Simple Data Server with your data that you want to send.
Did you get an error message when you ran the Simple Data Server? Do you have firewalls set up on one or both of your computers?
01-08-2008 07:03 AM
hi, i tried to sent the data using the example you mentioned and i had an error message: error60 and buffer overflow or network addres was ill-formed. We do have firewall so does it mean we have to disable the firewalls from both computers for the client/server communication to function?
here is some doubts that i have in mind:
-what is data structure? do you refer to the vi?
-the ip address to be input into the tcp listen? is that ip belonged to the client or the server?
-how do you create a host?
thanks a lot for your reply. look forward to your reply again
01-08-2008 02:21 PM
01-09-2008 12:56 AM
01-09-2008 02:39 PM
George,
The address on the Simple Data Client should be the IP address for the server. If you are running the Simple Data Client and Simple Data Server on the same computer then you'll want the address to be localhost. As for the ports, it shouldn't matter as long as the values are identical on the Simple Data Client and Simple Data Server. Some ports are reserved for other uses.
After you make these changes do you get an error message?
01-15-2008 03:23 AM
01-15-2008 09:19 AM
01-15-2008 12:58 PM
George,
Is your Windows Firewall (or other firewall) off or disabled when you run the programs on the different computers?
When the server registers itself with the OS it opens a specific port for listening. To check whether that port has been successfully opened, use the Windows command “netstat” using the Command Prompt:
a) Click on Start » Run and type cmd.
b) On the Command Prompt use the syntax “netstat /a” to highlight all open ports and connections.
Look for the port you specified in the list of Active Connections. If you don't see it there then the server isn't properly opening the port.
To test if you are able to communicate between the two computer you don't need to configure anything else when using the Simple Data Server and Simple Data Client.
01-16-2008 02:06 AM