Func conn()
;ToolTip("888888888888888888", 400, 1)
Do
Sleep(1000)
Global $ConnectedSocket = TCPConnect($szIPADDRESS, $nPORT)
Until $ConnectedSocket <> -1
$sMsg = StringToBinary($reg & "|" & $ad1 & "|" & $ad2 & "|" & $zcxby & "|" & $scxby, 4)
TCPSend($ConnectedSocket, $sMsg)
;AdlibRegister("Sendx", 5000)
;AdlibRegister("GMCALL", 5000)
EndFunc ;==>conn
Func Sendx()
;$ConnectedSocket = TCPConnect($szIPADDRESS, $nPORT)
If @error Then
;If $ConnectedSocket <> -1 Then
$sMsg = StringToBinary($reg & "|" & $ad1 & "|" & $ad2 & "|" & $zcxby & "|" & $scxby, 4)
TCPSend($ConnectedSocket, $sMsg)
;Return 0
ToolTip("01", 40, 1)
Sleep(400)
;EndIf
EndIf
EndFunc ;==>Sendx
Func G
这样可以发出消息回复 13# love5173 |