That seemed to be the problem thanks for your help.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
Public buffer() As Byte 'Main Buffer
Public Sub SIDPING(ByVal client As Socket, ByRef SID_PING As SID_PING)
'Redim the buffer for 8 and receive the data
databuffer(7)
client.BeginReceive(buffer, 0, 8, SocketFlags.None, AddressOf ReceiveCallback, buffer)
Dim bncreader As New MBNCSUtil.BncsReader(buffer)
SID_PING.ping = bncreader.ReadUInt32
End Sub
Public Function databuffer(ByVal n As Integer)
ReDim buffer(n)
End Function 'Redim DataBuffer
databuffer(7) 'function
client.BeginReceive(buffer, 0, 8, SocketFlags.None, AddressOf ReceiveCallback, buffer)
Dim format1 As MBNCSUtil.BncsReader = New MBNCSUtil.BncsReader(buffer)
Dim format As MBNCSUtil.BncsReader = New MBNCSUtil.BncsReader(buffer)
Dim tcpClient As New System.Net.Sockets.TcpClient()
tcpClient.Connect("useast.battle.net", 6112)
Dim NS As NetworkStream = tcpClient.GetStream()
0000 ff 3e 53 00 01 00 00 00 e3 6b 1a 2d 3f f0 ca 7a .>S......k.-?..z
0010 68 fb 5c 00 3f f0 ca 94 17 e0 00 00 00 00 06 00 h.\.?...........
0020 ec b4 9b 00 7a 12 1a 27 50 58 32 44 36 38 58 49 ....z..'PX2D68XI
0030 3f f0 ca 7a 09 10 00 00 6d b9 93 2f a4 b2 0e a6 ?..z....m../....
0040 2a 69 bc 87 32 55 0e 4b 26 2b 43 78 54 72 61 6e *i..2U.K&+CxTran
0050 64 6f 00 do.
0000 4a 00 01 01 00 00 00 e3 6b 1a 2d 3f f0 ca 7a 68 J.......k.-?..zh
0010 fb 5c 00 00 00 06 00 ec b4 9b 00 7a 12 1a 27 50 .\.........z..'P
0020 58 32 44 36 38 58 49 3f f0 ca 7a 09 10 00 00 6d X2D68XI?..z....m
0030 b9 93 2f a4 b2 0e a6 2a 69 bc 87 32 55 0e 4b 26 ../....*i..2U.K&
0040 2b 43 78 54 72 61 6e 64 6f 00 +CxTrando.
Page created in 0.222 seconds with 16 queries.