14-12-2006, 03:20 PM
Thats all I could find of WriteBytes besides the sub itself.
If someone could test the client I could tell you what the error was.
:: Pando
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