about summary refs log tree commit diff
path: root/Functions/TCP/tcp_command
blob: 8a4f0250473dc5d675e326d53728abbc1144caa9 (plain) (blame)
1
2
3
tcp_send $* || return 1
tcp_read -d -t ${TCP_TIMEOUT:=0.3}
return 0