I just tried it with my public server and it works fine. Are you sure that it's not caused by your code?

I used this testapplication:

Code:
#include <acknex.h>
#include "anet.h"
#include "default.c"

void main()
{
	level_load("");
	wait(3);
	
	enet_init();
	
	while(1)
	{
		if(key_1)
		{
			enet_init_server(2300,4,"");
			while(key_1) wait(1);
		}
		if(key_2)
		{
			enet_init_client("mail.aauer.com",2300,"");
			while(key_2) wait(1);
		}
		wait(1);
	}
}



I used [F11] to open the debug panel and checked if I get a ClientID. Even if ANet can't resolve the name, it shouldn't crash but throw a disconnected event.

Please test this out. It's possible that this is a bug of ANet.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version