*** UPDATE ***
I just noticed that when I have two connections open,
A/TX: client app connecting to PCAN for sending data to PCAN
B/RX: server app accepting connections from PCAN for receiving data from PCAN,
A/TX is closed as expected: Client sends a FIN/ACK, PCAN responds with FIN/ACK but
B/RX ...
Search found 4 matches
- Mon 12. Jan 2015, 16:06
- Forum: PCAN-Ethernet Gateway DR
- Topic: TCP connection from PCAN to server application
- Replies: 6
- Views: 12009
- Mon 12. Jan 2015, 14:23
- Forum: PCAN-Ethernet Gateway DR
- Topic: TCP connection from PCAN to server application
- Replies: 6
- Views: 12009
Re: TCP connection from PCAN to server application
Hi,
please be sure that you are closing the socket before terminating your server. The socket on the PCAN Gateway side probably doesn't note the disconnection and that is why it not tries to reconnect.
I am on a Ubuntu machine. What happens when do a shutdown on the socket is:
1 - My server ...
please be sure that you are closing the socket before terminating your server. The socket on the PCAN Gateway side probably doesn't note the disconnection and that is why it not tries to reconnect.
I am on a Ubuntu machine. What happens when do a shutdown on the socket is:
1 - My server ...
- Thu 8. Jan 2015, 15:05
- Forum: PCAN-Ethernet Gateway DR
- Topic: TCP connection from PCAN to server application
- Replies: 6
- Views: 12009
Re: TCP connection from PCAN to server application
Hi,
Many thanks for your response.
do you use a socket-based communication, a communication via the PEAK-LAN driver or directly via 2 Ethernet-Gateways?
We are using a plain socket connection from the PCAN to our server software.
BTW, I am not aware of a 'lan driver'. Can it be freely ...
Many thanks for your response.
do you use a socket-based communication, a communication via the PEAK-LAN driver or directly via 2 Ethernet-Gateways?
We are using a plain socket connection from the PCAN to our server software.
BTW, I am not aware of a 'lan driver'. Can it be freely ...
- Wed 7. Jan 2015, 14:54
- Forum: PCAN-Ethernet Gateway DR
- Topic: TCP connection from PCAN to server application
- Replies: 6
- Views: 12009
TCP connection from PCAN to server application
Hi,
It seems that the PCAN Ethernet GW DR automatically connects to our server application upon power on. However, when I quit the server application and restart it, there is no automatic reconnect from the PCAN. CAN messages from the CAN bus are apparently forwarded to the Ethernet side even if no ...
It seems that the PCAN Ethernet GW DR automatically connects to our server application upon power on. However, when I quit the server application and restart it, there is no automatic reconnect from the PCAN. CAN messages from the CAN bus are apparently forwarded to the Ethernet side even if no ...