FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Method ConnectTO() doesn't work fine
Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM

Method ConnectTO() doesn't work fine

Posted: Thu Oct 19, 2006 03:45 AM
I'm working with Sockets and when I tried to established an connection with a Server ( NTTP ) using Socket, the method connect doesn't work fine.

Loos this code :
FUNCTION CONNECTNEWS()
PARAM oSocket,oStatus,oBoton1
nPort := 119
cServerIP := "200.67.153.171"
oStatus:cText( " Conectando a "+cServerIP +CRLF )
cTxt := oStatus:cText
oStatus:cText( cTxt+" Esperando respuesta ......"+CRLF )
oSocket   := TSocket()
oSocket:New( nPort )
oSocket:Connect( cServerIP, nPort )   // <----- ¡¡ error is here !!

oSocket:bConnect := { |o| NewsOn(o , oStatus ) }
oSocket:bRead    := { |o| NewsRead(o , oStatus) }

RETURN( oSocket )

FUNCTION NEWSON()
PARAM oSocket,oStatus,cServerIp
cTxt := oStatus:cText
oStatus:cText( cTxt + " Ahora estas conectado. "+CRLF )
RETURN
Vikthor
Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM

Method ConnectTO() doesn't work fine

Posted: Sun Oct 22, 2006 02:06 AM

Antonio :

Any suggestion

Vikthor
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Method ConnectTO() doesn't work fine

Posted: Sun Oct 22, 2006 08:32 AM

Vikthor,

We are going to review it asap,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM

Method ConnectTO() doesn't work fine

Posted: Mon Oct 23, 2006 01:44 PM
Antonio Linares wrote:Vikthor,

We are going to review it asap,


Many Thanks Antonio
Vikthor

Continue the discussion