[mono-android] TcpClient broken?

thenextman richard at ayudasystems.com
Thu Feb 23 19:00:15 UTC 2012


Hi

I have the exact same code in my MonoTouch and MonoDroid projects.

string address = "192.168.100.100";
int port = 13000;

TcpClient client = new TcpClient(address, port);

This works great in MonoTouch 4.0.3. It used to work in MonoDroid 1.0. Now I
am in MonoDroid 4.0.3, and it fails with:

System.Net.Sockets.SocketException: An address incompatible with the
requested protocol was used.

I have tried multiple different ways to construct my TcpClient... But it
just doesn't work anymore.

Does anyone have any hints?

Thanks in advance

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/TcpClient-broken-tp5509027p5509027.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list