Settings
EFORT INTELLIGENT EQUIPMENT CO.,LTD
162
Formal para
meter descrip
tion
#1: DINT type, socket number of the message needed to be se
nt.
#2: STRING type, information content needed to be sent.
#3: BOOL type:
true represents ‘client’
false represents ‘server’
Return param
eters
1
Return refere
nce descripti
on
DINIT type:
Return value=1: sending succeed
Return value
≠
1: sending failed
4
Description
Instruction fu
nction name
tcpip.sockrecv( id, type )
Function
Receive information.
Number of f
ormal param
eters
2
Formal para
meter descrip
tion
#1
:
DINT type, socket number of the message needed to be re
ceived.
#2: BOOL type:
true represents ‘client’
false represents ‘server’
Return param
eters
2
Return refere
nce descripti
on
#1
:
STRING type, received string.
#2
:
DINT type:
Return value=1: Receive succeed