Home > Archive > SQL Anywhere Mobile > March 2005 > TCPIP connection to PPC?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TCPIP connection to PPC?
Philippe Damerval

2005-03-31, 8:04 pm

Hi again,

Reading through the newsgroups I see multiple references to connecting
directly using TCPIP from Pocketpc devices to a mobilink server. I ahve
been unable to find any reference to this in the documentation. The
"synchronizing ultralite databases on Windows CE" chapter of the
mobilink manual only mentions using Activesync, which is my case is
utterly failing.
Please help!
Philippe
Breck Carter [TeamSybase]

2005-03-31, 8:04 pm

As you have discovered, ActiveSync sucks :)

=====
MobiLink Clients
UltraLite Synchronization Parameters
Network protocol options for UltraLite synchronization clients
TCP/IP protocol options
The TCP/IP synchronization stream is accessible from all UltraLite
interfaces.
=====

On 31 Mar 2005 07:45:44 -0800, Philippe Damerval <damerval@usa.net>
wrote:

>Hi again,
>
>Reading through the newsgroups I see multiple references to connecting
>directly using TCPIP from Pocketpc devices to a mobilink server. I ahve
>been unable to find any reference to this in the documentation. The
>"synchronizing ultralite databases on Windows CE" chapter of the
>mobilink manual only mentions using Activesync, which is my case is
>utterly failing.
>Please help!
>Philippe


--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
Philippe Damerval

2005-03-31, 8:04 pm

Sorry Breck, "Activesync sucks" is really not helpful. The path you
provide into the documentation talks about the TCP/IP protocol, but this
does not help me to establish a TCP/IP connection with my server. Please
indicate how to use TCP/IP to connect to the mobilink server from a PPC.
Thank you.

Philippe

Breck Carter [TeamSybase] wrote:
> As you have discovered, ActiveSync sucks :)
>
> =====
> MobiLink Clients
> UltraLite Synchronization Parameters
> Network protocol options for UltraLite synchronization clients
> TCP/IP protocol options
> The TCP/IP synchronization stream is accessible from all UltraLite
> interfaces.
> =====
>
> On 31 Mar 2005 07:45:44 -0800, Philippe Damerval <damerval@usa.net>
> wrote:
>
>
>
>
> --
> SQL Anywhere Studio 9 Developer's Guide
> Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
> bcarter@risingroad.com
> RisingRoad SQL Anywhere and MobiLink Professional Services
> www.risingroad.com



--

Philippe Damerval
Alaska Dept. of Fish & Game
Commercial fisheries division
Breck Carter [TeamSybase]

2005-03-31, 8:04 pm

Almost everywhere in the Help that it talks about ActiveSync from
UltraLite, it also talks about TCP/IP.

Try a Help "Search" on

ultralite tcp

Also search on "tcp" in the various samples folders

C:\Program Files\Sybase\SQL Anywhere 9\Samples\UltraLite*


=====
MobiLink Clients
UltraLite Synchronization Parameters
Synchronization parameters
Stream Type synchronization parameter
=====

=====
UltraLite C/C++ User's Guide
Developing UltraLite Applications for Windows CE
Synchronization on Windows CE
TCP/IP, HTTP, or HTTPS synchronization from Windows CE
=====

Breck

On 31 Mar 2005 11:15:37 -0800, Philippe Damerval
< philippe_damerval@fi
shgame.state.ak.us> wrote:
[color=darkred]
>Sorry Breck, "Activesync sucks" is really not helpful. The path you
>provide into the documentation talks about the TCP/IP protocol, but this
>does not help me to establish a TCP/IP connection with my server. Please
>indicate how to use TCP/IP to connect to the mobilink server from a PPC.
>Thank you.
>
>Philippe
>
>Breck Carter [TeamSybase] wrote:

--
SQL Anywhere Studio 9 Developer's Guide
Buy the book: http://www.amazon.com/exec/obidos/A...7/risingroad-20
bcarter@risingroad.com
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
John Yovas

2005-03-31, 8:04 pm

From Ultralite application normaly you give a menu option to start
tcp/ipsync (NOT activesync) from pocket pc
a typical menu handler which invokes the sync will look like this

CustDB example shows this.....

bool CDemoDB::Synchronize
( ul_synch_observer_fn
observer )
/ ********************
********************
****************/
{
ul_synch_info info;

resetError( TEXT("Synchronize") );

// Perform synchronization.
// If this method is called on a separate thread, the main thread
// _cannot_ access the sqlca during the synchronization.
// To permit this (database operations on the main thread during
// synchronization), initialize another ULData for the synchronize
// thread here and open a second connection.
if( m_Stream == NULL ) {
return( false );
}
m_Connection.InitSynchInfo( &info );
info.user_name = m_EmpIDStr;
info.version = SCRIPT_VERSION;
info.stream = m_Stream;
info.stream_parms = m_SynchParms;
info.observer = observer;
info.user_data = &sqlca;
info.send_download_ack = ul_true;
m_Connection.Synchronize( &info );
if( !m_Connection.LastCodeOK() ) {
// Application UI will display alert in this case.
RECORD_ERROR_NO_ALER
T();
return( false );
}
CHECK_WARN();
notifyOrderListChang
e();
notifyCustListChange
();
notifyProdListChange
();
skipToValidOrder();
return( true );


"Philippe Damerval" < philippe_damerval@fi
shgame.state.ak.us> wrote in
message news:424c4c59$1@foru
ms-1-dub...
> Sorry Breck, "Activesync sucks" is really not helpful. The path you
> provide into the documentation talks about the TCP/IP protocol, but this
> does not help me to establish a TCP/IP connection with my server. Please
> indicate how to use TCP/IP to connect to the mobilink server from a PPC.
> Thank you.
>
> Philippe
>
> Breck Carter [TeamSybase] wrote:
>
>
> --
>
> Philippe Damerval
> Alaska Dept. of Fish & Game
> Commercial fisheries division



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com