Edit: Nvm, it happens every time
This code does not error everytime, but very sporadically. This line handles untouched data through winsock.
PID = Asc(Mid(Data, 2, 1))
Error:
QuoteInvalid Procedure Call or Argument
I dont wanna handle it with just On Error Resume Next