Connecting two Multiprogrammers via Internet Boards
Posted: Sat Jul 08, 2006 3:27 pm
All,
I am attempting to send data (1-byte) using TCP via a network from one Multiprogrammer board (Master) to another (Slave). I have read the documentation on the Internet board and Flowcode Macros. Using that information, I have written Master and Slave Flowcode programs. But, have not been able to get the two board to talk to each other.
I have setup the hardware with different Mac and IP addresses on both and connected them to a small hub. Valid connections are indicated by lights on hub and Internet boards.
I created sockets (0,0,1) on both the Master and Slave and can connect to each using the TCP Macros, i.e. the "RETURN" values from the various Macros indicate successful results.
I have used a simple Tx_start, Tx_sendbyte and Tx_end sequence to transmit the data and a Rx_data_available, Rx_readbyte to receive the data.
However, the Rx_data_available Macro on the Slave always returns "0" - no data available. Also, Ethereal indicate valid ARP from both the Master and Slave. Each send SYN segments but both reply with RST segments.
Any help would be appreciated.
Jack Griffin
I am attempting to send data (1-byte) using TCP via a network from one Multiprogrammer board (Master) to another (Slave). I have read the documentation on the Internet board and Flowcode Macros. Using that information, I have written Master and Slave Flowcode programs. But, have not been able to get the two board to talk to each other.
I have setup the hardware with different Mac and IP addresses on both and connected them to a small hub. Valid connections are indicated by lights on hub and Internet boards.
I created sockets (0,0,1) on both the Master and Slave and can connect to each using the TCP Macros, i.e. the "RETURN" values from the various Macros indicate successful results.
I have used a simple Tx_start, Tx_sendbyte and Tx_end sequence to transmit the data and a Rx_data_available, Rx_readbyte to receive the data.
However, the Rx_data_available Macro on the Slave always returns "0" - no data available. Also, Ethereal indicate valid ARP from both the Master and Slave. Each send SYN segments but both reply with RST segments.
Any help would be appreciated.
Jack Griffin