Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS4
#27
To fix a small error with AlertMsg not working.
Server Side
Replace the current AlertMsg with this:
Code:
Public Sub AlertMsg(ByVal Index As Long, ByVal Msg As String)
Dim Buffer As clsBuffer

    Set Buffer = New clsBuffer
    Buffer.PreAllocate Len(Msg) + 4
    Buffer.WriteInteger SAlertMsg
    Buffer.WriteString Msg
    
    Call SendDataTo(Index, Buffer.ToArray)
    DoEvents
    Call CloseSocket(Index)
End Sub

I've updated the download, so you probably won't have to fix this.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)