I'm having trouble getting the .net api client to connect to the smartfoxserver. The server is definitely running on the specified IP/port as I can connect the admin tool to it without a problem.
I can try to help you. The reason I can only "try" is that I dont know the capabilities of ASP in terms of these kinds situations (I have never coded ASP).
So hop you can chime in, and we can solve this together.
What happens inside the SFS client is, that it sets up an async socket that waits for the reply to your command.
In other words it doesnt block your client code - async in its basic form.
So what I suspect happens is that your code finishes its execution before a result is received.
Try to put in an infinite while (1 == 1) loop or similar to keep the program running, and see if there is a response after a few milliseconds.
Aha, I think you've hit the nail on the head there. I hadn't realised that the call was asynchronous. Hopefully I should be able to wait for the response and let the OnConnection handler break the loop.