Sends encoded sample data to the SHOUTcast server (e.g. the data as received in an own ENCODEPROC).
Assembly: Bass.Net (in Bass.Net.dll) Version: 184.108.40.206
public override int SendData( IntPtr buffer, int length )
Public Overrides Function SendData ( buffer As IntPtr, length As Integer ) As Integer
- Type: SystemIntPtr
The pointer to the encoded buffer data (as given by to ENCODEPROC callback).
- Type: SystemInt32
The length of the buffer data (as given by to ENCODEPROC callback).
Return ValueType: Int32
The number of bytes send to the server (or -1, if no bytes could be send (see LastError or LastErrorMessage for details).
If an error occures the connection will be closed automatically (using Disconnect).