FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC FWPPC Sockcli cannot link to FW Sockserv
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Wed Sep 06, 2006 04:25 PM

Dear Antonio,

I test FW Sockserv and FW Sockcli, it works ok.

I try to link between FWPPC Sockcli to FW Sockserv, it doesn't show anything and another three button is still disable. I don't know why.

Best regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Wed Sep 06, 2006 06:08 PM
Dutch,

It used to work fine, but now, we can just connect -it takes some time- but no data is sent. We are going to review it.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 458
Joined: Tue Mar 14, 2006 07:26 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Wed Sep 06, 2006 10:09 PM

Antonio,

In Windows CE, Pocket hang with only TSockets()New(....)

Regards,
Joaquín

Un Saludo,

Joaquín Martínez
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Cannot connect on real PPC
Posted: Thu Sep 07, 2006 02:02 AM

Dear Antonio,

I test with emulator and I've got the same result, connected but cannot send anything. The result that I mention is on a real PPC.

Best regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Thu Sep 07, 2006 05:57 AM

The problem is GETHOSTBYADDRESS

if yoy insert manually your DNS (Es :"192.168.0.50") and dont use GETHOSTBYADDRESS it works .

Look at INET.C of xHarbour .

Regards Maurizio

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Thu Sep 07, 2006 07:51 AM

Maurizio,

Are you able to successfully run samples\sockcli.prg ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Thu Sep 07, 2006 09:06 AM

Yes , I will send the code .

Maurizio

Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Fri Sep 08, 2006 02:09 AM

Dear Antonio,

If you got the correct examples please send me too.

Best regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Fri Sep 08, 2006 06:43 AM

Maurizio,

samples\sockcli.prg uses a fixed IP, and it does not GPF, it just does not connect.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWPPC Sockcli cannot link to FW Sockserv
Posted: Fri Sep 08, 2006 09:40 AM
Maurizio,

If you test this sample on FWPPC, you will see if works ok with no problems at all:
#include "FWCE.ch" 

function Main()

   WSAStartup()
   
   MsgInfo( GetHostName(), GetHostByAddress( "127.0.0.1" ) )
   
   WSACleanUp()
   
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion