View Single Post

  #1 (permalink)  
Old 02-25-2007, 07:33 AM
jason2 jason2 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
jason2 is on a distinguished road
who to send and receive data?

hi,
i new in compactframework and i need to build a aplication that can send and receive information between a mobile phone using compactframework and a pc using a winsock control.

i can i receive and send information in the mobile? i have tryed this:

Dim server As TcpListener

server = Nothing

Try

' Set the TcpListener on port 13000.

Dim port As Int32 = 3071

Dim localAddr As IPAddress = IPAddress.Parse("192.168.2.129")

server = New TcpListener(localAddr, port)

server.Server.Listen(1)

' Start listening for client requests.

server.Start()

with this code the program stucks and i canīt work with the program

who can can i receive and send information in the mobile to pc like i using winsock control?

can anyone help ?

thanks a lot
Reply With Quote