you can debug your code and report
tcpClient.Connect(connections[0].getAddress(),
Compounds [0] matter?
I would suggest you change your code to the following:
public void run() { connections = new ConnectionInfo[]{ new ConnectionInfo(1, 0, "149.154.167.40", 443) }; apiState = new ApiState(connections); doReqCode(connections); private void doReqCode(connections){ var args = new SocketAsyncEventArgs();
I donโt see where the code might break, maybe a more detailed description of your problem would be helpful
source share