Sockets in Emulator

LMDEV

Member
Licensed User
Longtime User
I am attempting to connect to a remote Wifi device through the Android Emulator using Network libs and I am not getting a connection status.

The code line that hangs is
Mysocket.Initialize("Mysocket")
>Mysocket.Connect("169.254.1.1" , 2000, 2000)

I attempted to go through the MENU item in the emulator to configure the wifi, however I am getting a ERROR status and can not proceed.

When I am connected to my router the emulator does "surf the web".


I am able to use VB.NET sockets and get connection using the following code line clientSocket = New System.Net.Sockets.TcpClient("169.254.1.1", 2000). So there is a stack to talk through to the remote device.

Prior to connection attempts I am using Network and Sharing Center for the wireless link present by the remote device or to connect to my router for "surfing".

Is the problem with the emulator?
 

LMDEV

Member
Licensed User
Longtime User
Are you saying the emulator can not be connected to a wireless port link to communicate with other Wireless devices?
 
Upvote 0
Top