private void NativeDataSocketSendAsMuchAsPossible(Byte[] buffer, Int32 offset, Int32 size)
{
this.StartTimeoutTimer();
try
{
this.fSslStream.Write(buffer, offset, size);
}
catch (IOException)
{
throw new SocketException();
}
finally
{
this.StopTimeoutTimer();
}
}