FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Function GetHostByName() is Working on FWPPC ?
Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM

Function GetHostByName() is Working on FWPPC ?

Posted: Tue Oct 17, 2006 11:55 PM

Hi , just that :)

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

Function GetHostByName() is Working on FWPPC ?

Posted: Wed Oct 18, 2006 04:31 PM
Vikthor,

If your Pocket PC network is properly setup, then this code should work fine:
function Main()

   WSAStartup()
   MsgInfo( GetHostByName( "www.fivetechsoft.com" ) )
   WSACleanup()

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 33
Joined: Thu Aug 24, 2006 03:14 AM

Function GetHostByName() is Working on FWPPC ?

Posted: Wed Oct 18, 2006 05:05 PM

Perdon por la Ignorancia pero
¿cuando es cuando debemos usar?

WSAStartup() y WSACleanup()

¿Es solo en Windows Mobile Verdad?

Posts: 298
Joined: Fri Oct 07, 2005 05:20 AM

Function GetHostByName() is Working on FWPPC ?

Posted: Thu Oct 19, 2006 02:02 AM
Antonio Linares wrote:Vikthor,

If your Pocket PC network is properly setup, then this code should work fine:
function Main()

   WSAStartup()
   MsgInfo( GetHostByName( "www.fivetechsoft.com" ) )
   WSACleanup()

return nil


Antonio :

that code doesn't work with emulator and BenQ P50
Vikthor
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Function GetHostByName() is Working on FWPPC ?

Posted: Thu Oct 19, 2006 07:45 AM

Ignacio,

Solo es preciso usar esas funciones (en FWH también) si no usas la clase TSocket, ya que esta hace las llamadas automaticamente.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion