help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'lNet' (#LNet)

TLConnection.SendMessage

Send a string message to the other side

Declaration

Source position: lnet.pp line 297

public function TLConnection.SendMessage(

  const msg: String;

  aSocket: TLSocket = nil

):Integer; virtual; abstract;

Arguments

msg

  

The user message to send

aSocket

  

Socket to send on, defaults to nil. See specific implementor classes for meaning of nil socket argument

Function result

Returns the number of bytes sent

Description

This method is used to send a string message to the other side. See specific implementor classes for more details.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505