接收pop3
Public Function Retrieve(ByVal rhs As Pop3Message) As Pop3Message
Dim message, RESponse As String
Dim msg As New Pop3Message
msg.bytes = rhs.bytes
msg.number = rhs.number
message = "RETR " + rhs.number.ToString + vbCrLf
write(message)
RESponse = Respond()
If RESponse.Substring(0, 3) <> "+OK" Then
Throw New Pop3Exception(RESponse)
End If
MsgBox(msg)
msg.retrieved = True
While (1 = 1)
RESponse = Respond()
If RESponse = "." + vbCrLf Then
Exit While
Else
msg.message += RESponse
End If
End While
Return msg
End Function
Routine mampres: To obtain amplitude RESponse from h(exp(jw)).
input parameters:
h :n dimensioned complex array. the frequency RESponse is stored
in h(0) to h(n-1).
n :the dimension of h and amp.
fs :sampling frequency (Hz).
iamp:If iamp=0: The Amplitude Res. amp(k)=abs(h(k))
If iamp=1: The Amplitude Res. amp(k)=20.*alog10(abs(h(k))).
output parameters:
amp :n dimensioned real array. the amplitude-frequency RESponse is
stored in amp(0) to amp(n-1).
Note:
this program will generate a data file "filename.dat" .
in chapter 2
The Network Security RESponse Framework (NSRF) allows for testing different computer security RESponse engines and methodologies. It supports simulated and real: Intrusion Detection Systems (sensors), Attacks, and RESponses.
Patterns of Enterprise Application Architecture is written in direct RESponse to the stiff challenges that face enterprise application developers. The author, noted object-oriented designer Martin Fowler, noticed that despite changes in technology--from Smalltalk to CORBA to Java to .NET--the same basic design ideas can be adapted and applied to solve common problems. With the help of an expert group of contributors, Martin distills over forty recurring solutions into patterns. The result is an indispensable handbook of solutions that are applicable to any enterprise application platform