Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zlip mixed with IOCP+PackerBuffer
#4
You don't understand what zlib does do you? Well here it is.

Just using strings with zlib:
Code:
If Len(TmpStr) > 0 Then
            TmpStr = Compress(TmpStr, lR)
            TmpStr = lR & SEP_CHAR & TmpStr
            dbytes = StrConv(TmpStr, vbFromUnicode)
            If IsConnected(i) Then
                GameServer.Sockets(i).WriteBytes dbytes
                DoEvents
            End If
          End If
does zlib need a string to enrypt? or can it encrypt byte arrays?
If it can decrypt byte arrays faster(which it should) theres probably a better way.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)