Redpine Signals, Inc. Proprietary and confidential
Page 31
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
6
6
/
/
2
2
8
8
–
–
S
S
e
e
l
l
f
f
-
-
C
C
o
o
n
n
t
t
a
a
i
i
n
n
e
e
d
d
W
W
L
L
A
A
N
N
M
M
o
o
d
d
u
u
l
l
e
e
s
s
w
w
i
i
t
t
h
h
N
N
e
e
t
t
w
w
o
o
r
r
k
k
i
i
n
n
g
g
S
S
t
t
a
a
c
c
k
k
Figure 26:
Server Application Starts Receiving Packets
2.5.3.3:
Send And Receive Data (TCP Server)
If a TCP server (LTCP) socket is created, the connection is established only when
the TCP peer connects with the server. The DUT application queries for the
connection status on a particular TCP server socket till the connection is
established. Once the connection is established, the transmission and reception
of the data happens as shown in the figure below.
NOTE: In case of TCP Server Socket (LTCP) Destination IP address and
Destination port number should be zero.
Figure 27:
Query Connection status and transmit/receive the data
2.5.3.4:
List Sockets
The List Sockets option lists the active sockets at a particular instance. The
socket descriptor and the socket type are displayed as below.