Sub AStream_NewData (Buffer() As Byte)
Dim txt As String = BytesToString(Buffer, 0, Buffer.Length, "UTF8")
Dim components() As String
components = Regex.Split("\r\n",txt)
If components(0) = "GET /test HTTP/1.1" Then
Log("test")
End If
If components(0) = "GET /autodj HTTP/1.1" Then
Log("autodj")
Button8_Click
End If
Dim html(6) As String
html(5) = "<html><body><h1>Hello, World!</h1></body></html>" & CRLF
html(0) = "HTTP/1.1 200 OK" & CRLF
html(1) = "Content-Type: text/html; charset=utf-8" & CRLF
html(2) = "Content-Length: " &...