|
recvRetrieves waiting data from an open tcp or udp connection. If data is received before the timeout, it will be placed in $CONTENT. Otherwise, an error will be thrown. The default timeout is 20 seconds. This command is typically used with the send command to interact directly with a network device. usage: recv [timeout]parameters:
examplesrecv Waits on the open connection until data is received or 20 seconds elapses, whichever is first. recv 10 Waits on the open connection until data is received or 10 seconds elapses, whichever is first. recv $TIMEOUT Assuming TIMEOUT=25, waits on the open connection until data is received or 25 seconds elapses, whichever is first. Alertra Script Language: Language Reference |
Not logged in. |
|
Web Site Monitoring · Security Scan · Features · FAQ · Pricing · About Us · Contact Us · Site Map |
|
Copyright © 2000-2008 Alertra, Inc. All rights reserved. Please read our privacy statement and our terms of service.