Example #1
0
        private void SetSendWindow()
        {
            _RM_SEND_WINDOW window = new _RM_SEND_WINDOW();

            window.RateKbitsPerSec   = RateKbitsPerSec;
            window.WindowSizeInMSecs = WindowSizeInMSecs;
            window.WindowSizeInBytes = WindowSizeinBytes;
            byte[] allData = MarshalHelper.ConvertToBytes(window);
            _socket.SetSocketOption(PgmSocket.PGM_LEVEL, (SocketOptionName)1001, allData);
        }
Example #2
0
 private void SetSendWindow()
 {
     _RM_SEND_WINDOW window = new _RM_SEND_WINDOW();
     window.RateKbitsPerSec = RateKbitsPerSec;
     window.WindowSizeInMSecs = WindowSizeInMSecs;
     window.WindowSizeInBytes = WindowSizeinBytes;
     byte[] allData = MarshalHelper.ConvertToBytes(window);
     _socket.SetSocketOption(PgmSocket.PGM_LEVEL, (SocketOptionName) 1001, allData);
 }