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



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

TLSocket.Send

Sends data to the other side

Declaration

Source position: lnet.pp line 139

public function TLSocket.Send(

  const aData;

  const aSize: Integer

):Integer; virtual;

Arguments

aData

  

The generic data to send

aSize

  

Size of the data to send

Function result

Returns the number of bytes successfully sent

Description

This method sends arbitrary data to the other end. If the socket isn't connected it returns 0, otherwise it returns the number of bytes successfuly sent.

Notes

 No notes exist for this page yet. 





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