Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet

Status
Not open for further replies.

ready2fly

Technical User
Jan 29, 2004
4
US
How can I use Aspect to open up Telnet to capture file instead of com port ?
 
If you want the capture file to start automatically on connection, you can do this by selecting the Connection Directory entry, click on the Basic Options button, and configure the capture file information you want. You'll then want to take the script below, compile it, and attach it to that Connection Directory entry via the Script listbox on the Basic Options page. The script is necessary due to a bug in Procomm automatically opening capture files in telnet mode.

proc main
when $CARRIER call open_cap

while 1
yield
endwhile
endproc

proc open_cap
if $CARRIER == 0
capture OFF
exit
else
capture ON
endif
endproc

aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top