Discuss this help topic in SecureBlackbox Forum

TElSSLSocket.Send

TElSSLSocket     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Sends data to a connected Socket.

Declaration

[C#/Java]
    int Send(byte[] buffer);
    int Send(byte[] buffer, SocketFlags socketFlags);
    int Send(byte[] buffer, int offset, int size);
    int Send(byte[] buffer, int offset, int size, SocketFlags socketFlags);

[VB.NET]
    Function Send(ByVal buffer As Byte()) As Integer
    Function Send(ByVal buffer() As Byte, ByVal socketFlags As SocketFlags) As Integer
    Function Send(ByVal buffer() As Byte, ByVal offset As Integer, ByVal size As Integer) As Integer
    Function Send(ByVal buffer() As Byte, ByVal offset As Integer, ByVal size As Integer, ByVal socketFlags As SocketFlags) As Integer

[Pascal]
    not implemented;

[C++]
    not available

[PHP]
    not available

Parameters

  • buffer - data to be send.
  • offset - the position in the data buffer at which to begin sending data.
  • size - the number of bytes to send.
  • socketFlags - a bitwise combination of the SocketFlags values.

Socket flags values:


Return value

    The number of bytes sent to the Socket.

Description

    Use this method to send data to connected socket.
    Please note that you should not call this method for SSLSocket class but for derived classes only.

See also:     Receive    

Discuss this help topic in SecureBlackbox Forum