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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aspect to C# conversion

Status
Not open for further replies.

demohr

Programmer
Apr 19, 2006
5
US
Hi,

I am converting some code written in ASPECT to C# for work. I have no manual for ASPECT, no copy of Procomm, and no experience with ASPECT, but its going OK so far.

So here are my questions:

1)What is the difference between "pause" and "mspause"? Is pause in seconds and mspause in milliseconds?

2)What exactly happens during a "rxflush" and a "txflush"? I need to mimic the functions in C# as accurately as possible to make sure the code still works after conversion.

3)What is the difference between the "fputs" command and the "transmit" command?

Sorry for all the questions, but I need details on these commands to make sure I implement them the same in C#.

Thanks,
demohr
 
You are correct about pause and mspause.

rxflush and txflush clear the receive and transmit buffers respectively. For the most part, I've not had much need for these commands in the past but that could be different for the script you are converting.

fputs writes a string to a text file, while transmit sends a string through the current connection.

I can send you the ASPECT help file if you think that will help, just drop me an email at the email address on the website in my signature.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top