Ethernet Network

Hi,

Recently develped a data communication program using TCP/IP with QNX
4.25 and Watcom ‘C’ 10.6. The program periodically establishes connection
with the device, sends a query packet and receives data from a TCP/IP
enabled device. The QNX application sequentially fetches data from 4
devices on ethernet network. We have installed 8-port, 10/100 LAN switch
(D-Link) for setting up the network. After completion of software
development for the QNX computer and device, we tried functional test
including all exception conditions like simulation of link failure,
simulation of ethernet link recovery, etc. All the tests passed with PC
connected to single device with the help of crossover cable. We also
repeated all the tests with PC interfaced to single device through a 10/100
hub.

Now during final testing stage, we have 4 devices connected to QNX
computer through a switch. If we disconnect any device by pulling out
connector from the port of switch, computer software detects failure while
establishing a TCP/IP connection. If the connector is reinserted in the same
port of the switch, QNX computer is able to reestablish a TCP/IP connection
to the device. But if the connector is interted in any other port of the
switch, computer software fails to establish TCP/IP connection with device.
If the input power to switch is resetted, computer successfully
reestablishes connection with the device
We have tested the LAN switch on other networks and it is found functioning
withot any problems…

How to resolve this problem? What should we suspect, device? QNX
computer ? switch ? software?

Has anybody encountered such a problem?

Please help…

Thanks,
Krupa

Try to use an ordinary hub, switch is a bit more “sophisticated” device.

// wbr

“Krupa” <seto@vsnl.com> wrote in message news:avu3qd$mrg$1@inn.qnx.com

Hi,

Recently develped a data communication program using TCP/IP with QNX
4.25 and Watcom ‘C’ 10.6. The program periodically establishes connection
with the device, sends a query packet and receives data from a TCP/IP
enabled device. The QNX application sequentially fetches data from 4
devices on ethernet network. We have installed 8-port, 10/100 LAN switch
(D-Link) for setting up the network. After completion of software
development for the QNX computer and device, we tried functional test
including all exception conditions like simulation of link failure,
simulation of ethernet link recovery, etc. All the tests passed with PC
connected to single device with the help of crossover cable. We also
repeated all the tests with PC interfaced to single device through a
10/100
hub.

Now during final testing stage, we have 4 devices connected to QNX
computer through a switch. If we disconnect any device by pulling out
connector from the port of switch, computer software detects failure while
establishing a TCP/IP connection. If the connector is reinserted in the
same
port of the switch, QNX computer is able to reestablish a TCP/IP
connection
to the device. But if the connector is interted in any other port of the
switch, computer software fails to establish TCP/IP connection with
device.
If the input power to switch is resetted, computer successfully
reestablishes connection with the device
We have tested the LAN switch on other networks and it is found
functioning
withot any problems…

How to resolve this problem? What should we suspect, device? QNX
computer ? switch ? software?

Has anybody encountered such a problem?

Please help…

Thanks,
Krupa
\

Ian Zagorskih wrote:

Try to use an ordinary hub, switch is a bit more “sophisticated” device.

Or a better switch :wink:

// wbr

“Krupa” <> seto@vsnl.com> > wrote in message news:avu3qd$mrg$> 1@inn.qnx.com> …

Hi,

Recently develped a data communication program using TCP/IP with QNX
4.25 and Watcom ‘C’ 10.6. The program periodically establishes connection
with the device, sends a query packet and receives data from a TCP/IP
enabled device. The QNX application sequentially fetches data from 4
devices on ethernet network. We have installed 8-port, 10/100 LAN switch
(D-Link) for setting up the network. After completion of software
development for the QNX computer and device, we tried functional test
including all exception conditions like simulation of link failure,
simulation of ethernet link recovery, etc. All the tests passed with PC
connected to single device with the help of crossover cable. We also
repeated all the tests with PC interfaced to single device through a

10/100

hub.

Now during final testing stage, we have 4 devices connected to QNX
computer through a switch. If we disconnect any device by pulling out
connector from the port of switch, computer software detects failure while
establishing a TCP/IP connection. If the connector is reinserted in the

same

port of the switch, QNX computer is able to reestablish a TCP/IP

connection

to the device. But if the connector is interted in any other port of the
switch, computer software fails to establish TCP/IP connection with

device.

If the input power to switch is resetted, computer successfully
reestablishes connection with the device
We have tested the LAN switch on other networks and it is found

functioning

withot any problems…

How to resolve this problem? What should we suspect, device? QNX
computer ? switch ? software?

Has anybody encountered such a problem?

Please help…

Thanks,
Krupa



\