Click here to Skip to main content
15,917,702 members
Home / Discussions / Mobile
   

Mobile

 
QuestionClient FTP Error Code 12029 Pin
dev248-Oct-07 12:33
dev248-Oct-07 12:33 
QuestionApplication Deployment Pin
MrWizard548-Oct-07 11:58
MrWizard548-Oct-07 11:58 
Questionmobile application Pin
Ahamed Azeem6-Oct-07 23:08
Ahamed Azeem6-Oct-07 23:08 
AnswerRe: mobile application Pin
Raman-kumar10-Oct-07 0:02
Raman-kumar10-Oct-07 0:02 
AnswerRe: mobile application Pin
Anoop_Ravindran10-Oct-07 0:28
Anoop_Ravindran10-Oct-07 0:28 
GeneralRe: mobile application Pin
Ahamed Azeem10-Oct-07 0:31
Ahamed Azeem10-Oct-07 0:31 
Questioncan you help me plz.. Pin
Anoop_Ravindran10-Oct-07 3:59
Anoop_Ravindran10-Oct-07 3:59 
QuestionSend message to PPC from PC using sockets (Error 10060) [modified] Pin
AlexeiXX34-Oct-07 9:04
AlexeiXX34-Oct-07 9:04 
Hello all
Im trying to send an alert to a WM6 Device (Emulator) from my PC

Code on PC:
Dim tcpClient As New Sockets.TcpClient
Dim portNumber As Integer = 1414 '????
'ERROR10060 on next line
tcpClient.Connect(New IPEndPoint(IPAddress.Parse("192.168.55.101"), portNumber))


Code on PPC:
Private Sub listener()
        Dim tcpListener As New Sockets.TcpListener(IPAddress.Parse("192.168.55.101"), 1414)
        tcpListener.Start()
        
        While (True)
            ' Look for notification
            If (tcpListener.Pending()) Then
                ' Get notification message
                Dim tcpClient As Sockets.TcpClient = tcpListener.AcceptTcpClient()
                Dim s As IO.Stream = tcpClient.GetStream()
                Dim buffer(250) As Byte
                Dim bytes As Int16 = s.Read(buffer, 0, buffer.Length)
                Dim message As String = System.Text.Encoding.ASCII.GetString(buffer, 0, bytes)

                ' Send back confirmation
                Dim response As String = "OK"
                Dim responseBytes() As Byte = System.Text.Encoding.ASCII.GetBytes(response.ToCharArray())
                tcpClient.GetStream().Write(responseBytes, 0, responseBytes.Length)

                tcpClient.Close()
                showNotification(message)
            End If
            System.Threading.Thread.Sleep(1000)
        End While
    End Sub


What am i suppossed to write on the port number?? I have tried several numbers but all of them give me the same error 10060

To get that IP address i run this code on my PPC
'Dns.GetHostEntry(Dns.GetHostName()).AddressList(0).ToString

Thanks in advance for any answers


-- modified at 15:36 Thursday 4th October, 2007

Alexei Rodriguez

GeneralRe: Send message to PPC from PC using sockets (Error 10060) Pin
imranatif4-Oct-07 21:42
imranatif4-Oct-07 21:42 
QuestionHow to hide a file in a PPC Pin
Erisa85d4-Oct-07 5:28
Erisa85d4-Oct-07 5:28 
AnswerRe: How to hide a file in a PPC Pin
João Paulo Figueira6-Oct-07 6:22
professionalJoão Paulo Figueira6-Oct-07 6:22 
QuestionMy PPC application gets frozen after receiving data by socket Pin
Erisa85d4-Oct-07 5:03
Erisa85d4-Oct-07 5:03 
AnswerRe: My PPC application gets frozen after receiving data by socket Pin
AlexeiXX315-Oct-07 10:48
AlexeiXX315-Oct-07 10:48 
Questionmobile socket application Pin
vimal_q3-Oct-07 19:00
vimal_q3-Oct-07 19:00 
GeneralRe: mobile socket application Pin
imranatif4-Oct-07 21:36
imranatif4-Oct-07 21:36 
QuestionPostMessage() function [modified] Pin
nemarc3-Oct-07 0:29
professionalnemarc3-Oct-07 0:29 
QuestionApp crashes when Pocket PC device wakes Pin
Payrok2-Oct-07 4:26
Payrok2-Oct-07 4:26 
AnswerRe: App crashes when Pocket PC device wakes Pin
Payrok9-Oct-07 11:33
Payrok9-Oct-07 11:33 
AnswerRe: End/Power button in Smartphone application Pin
Alain Rist1-Oct-07 5:29
Alain Rist1-Oct-07 5:29 
GeneralRe: End/Power button in Smartphone application [modified] Pin
Alain Rist1-Oct-07 9:40
Alain Rist1-Oct-07 9:40 
GeneralRe: End/Power button in Smartphone application Pin
MuthiahR4-Oct-07 5:23
MuthiahR4-Oct-07 5:23 
QuestionInstalling CAB Files and CF 2.0 on PDA Pin
steve_rm28-Sep-07 7:19
steve_rm28-Sep-07 7:19 
AnswerRe: Installing CAB Files and CF 2.0 on PDA Pin
PavanPareta30-Sep-07 19:11
PavanPareta30-Sep-07 19:11 
AnswerRe: Installing CAB Files and CF 2.0 on PDA Pin
DigiOz Multimedia16-Oct-07 16:06
DigiOz Multimedia16-Oct-07 16:06 
QuestionProgress bar to monitor progress Pin
steve_rm26-Sep-07 7:01
steve_rm26-Sep-07 7:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.