Sends data to a socket on the server.
o.send(lcInput)
Return Value
.T. or .F.
Parameters
lcInput
String to send to socket.
Example
*** SMTP Server Logon loIP = CREATE( "wwSocket") loIP.lStripNulls = .T. loIP.Connect("mail.somemailserver.net",25) *** Retrieve the welcome message loIP.Receive() && Welcome Message *** Send username loIP.Send("helo Rick" + CRLF) *** Echos back the mail servers welcome message ? loIP.Receive() *** Close the connection loIP.Disconnect()
See also:
Class wwsocket© West Wind Technologies, 1996-2024 • Updated: 01/16/02
Comment or report problem with topic