i'm writing a chatting application for PDA, below is my code for establish connection to computer(the ip address is the router ip address)........but i still new for mobile programming....now i ask for some opinion whether it will work in PDA or not?

VB Code:
  1. Const mBufferSize As Integer = 255
  2.     Private mBuffer(mBufferSize) As Byte
  3.     Private sendBuffer(mBufferSize) As Byte
  4.     Public Shared mSocket As Socket
  5.  
  6.     Public Sub Connect()
  7.         mSocket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
  8.         mSocket.BeginConnect(New IPEndPoint(IPAddress.Parse("192.168.0.111"), 8080), AddressOf Connected, mSocket)
  9.     End Sub
  10.  
  11.     Public Sub Connected(ByVal ar As IAsyncResult)
  12.         mSocket = DirectCast(ar.AsyncState, Socket)
  13.         mSocket.EndConnect(ar)
  14.  
  15.         MsgBox("Connected")
  16.  
  17.         mSocket.BeginReceive(mBuffer, 0, mBufferSize, SocketFlags.None, AddressOf getMessage, mSocket)
  18.  
  19. End Sub