Hi,
I am trying to run socket test application, *sock_test_client*. I get error
that Network is not reachable though it is reachable. To validate the network
reachability, I ran *vcl_test_client.* No issue with that. What could be the
problem?
root@Host2:~/vpp/build-root/build-vpp-native/vpp/bin# ./sock_test_server 10005
SERVER: Waiting for a client to connect on port 10005...
SERVER: epoll_wait() timeout!
SERVER: epoll_wait() timeout!
root@Host1:~/vpp/build-root/build-vpp-native/vpp/bin# ./sock_test_client
1.1.0.2 10005
CLIENT: Connecting to server...
ERROR in main(): Network is unreachable
CLIENT: ERROR: connect failed (errno = 101)!
=================================
root@Host2:~/vpp/build-root/build-vpp-native/vpp/bin# ./vcl_test_server 10006
vt<w0>: Initializing worker ...
vt<w0>: Waiting for a client to connect on port 10006 ...
vt<w0>: Got a connection -- fd = 2 (0x00000002)!
vt<w0>: Got a connection -- fd = 3 (0x00000003)!
vt<w0>: (fd 3): RX (5 bytes) - ' abcd '
vt<w0>: (fd 3): TX (5 bytes) - 'abcd'
vt<w0>: Session fd 3 closing!
root@Host1:~/vpp/build-root/build-vpp-native/vpp/bin# ./vcl_test_client 1.1.0.2
10006
vt<w0>: Connecting to server...
vt<w0>: Control session (fd 0) connected.
Type some characters and hit <return>
('#H' for help): *abcd*
vt<w0>: Initializing worker 0 ...
vt<w0>: Test session 0 (fd 1) connected.
vt<w0>: All test sessions (1) connected!
vt<w0>: Sending config to server on all sessions ...
vt<w0>: Starting test ...
vt<w0>: Worker 0 done ...
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13188): https://lists.fd.io/g/vpp-dev/message/13188
Mute This Topic: https://lists.fd.io/mt/31874159/21656
Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-