Hey all,
I simply trying to do some work using C# API, on .NET project with Visual Studio 2008.
On my project, i am successfully connectiong to Miktorik with port and IP adress, but when i try to login, project is freezing on some particular point. I run it on debug mode, and saw this:
public List Read()
{
List output = new List();
string o = “”;
byte tmp = new byte[4];
long count;
while (true)
{
tmp[3] = (byte)connection.ReadByte(); // <— Thats where projects freezing.
At this point of project, system is keep waiting to read any byte forever. no error messages, nothing.
What am i doing wrong? Is that a coding mistake, or some kind of misconnection between my pc and the router?
Thanks for all your help,