Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOCP -____-"
#7
Thats all I could find of WriteBytes besides the sub itself.

Code:
Sub SendDataTo(ByVal Index As Long, ByVal Data As String)
Dim i As Long, n As Long, startc As Long
Dim dbytes() As Byte
    
    dbytes = StrConv(Data, vbFromUnicode)
    If IsConnected(Index) Then
        GameServer.Sockets(Index).WriteBytes dbytes
        DoEvents
    End If
End Sub

If someone could test the client I could tell you what the error was.

:: Pando
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)