| Author |
timing the synchronize
|
|
|
| Hello there!
mobilink 9.0.2
ultralite 9.0.1
i have this scenrio:
the ppc (with UL) try to synchronize to the ML and the ML is
down (no comuter at the IP).
it takes 5-9 minutes untill i get "comunication error"
i need a parameter that can limit the time of synchronize
from client side (ppc) .
thanks in advenced
Omri Ziv
| |
| Tom Slee 2005-11-08, 4:14 pm |
| Omri wrote:
> Hello there!
>
> mobilink 9.0.2
> ultralite 9.0.1
>
> i have this scenrio:
> the ppc (with UL) try to synchronize to the ML and the ML is
> down (no comuter at the IP).
> it takes 5-9 minutes untill i get "comunication error"
>
> i need a parameter that can limit the time of synchronize
> from client side (ppc) .
>
> thanks in advenced
>
> Omri Ziv
I am surprised that you have to wait such a long time for the message.
Please could you give details of the synchronization setup?
We have added a synchronization parameter to a very recent build of
9.0.2 for just this purpose. The EBF may not be available yet, but the
build number is 9.0.2.3207 and any EBF with a build number greater than
that will include a network_connect_time
out synchronization parameter,
which provides what you want.
Tom Slee
iAnywhere product management
| |
|
| Tom wrote:
> I am surprised that you have to wait such a long time for
> the message. Please could you give details of the
> synchronization setup?
>
> We have added a synchronization parameter to a very recent
> build of 9.0.2 for just this purpose. The EBF may not be
> available yet, but the build number is 9.0.2.3207 and any
> EBF with a build number greater than that will include a
> network_connect_time
out synchronization parameter, which
> provides what you want.
>
> Tom Slee
> iAnywhere product management
Hi There!
first of all i'm a bit disapointed that you added it just
now, because if you have timeout to the mobilink connection
at the server side you should have the same at the client
side.(UL ppc)
the synchronization setup is:
ConnUp.SyncParms.Stream = StreamType.TCPIP;
ConnUp.SyncParms.SendColumnNames = true;
ConnUp.SyncParms.UploadOnly = true;
//ConnUp.SyncParms.DownloadOnly = false;
ConnUp.SyncParms.Version = "upload";
ConnUp.SyncParms.UserName =
Custom.MOBILINK_USER + "_u";
ConnUp.SyncParms.Password = Custom.MOBILINK_PASS;
ConnUp.SyncParms.StreamParms = Custom.IP;
ConnUp. StopSynchronizationD
elete();
ConnUp.Synchronize();
thank you in advanced
Omri Ziv
| |
| David Fishburn 2005-11-09, 9:24 am |
| Omri wrote in news:4371a7c8.1aeb.1681692777@sybase.com
of sybase.public.sqlanywhere.mobilink:
Since you are on the Pocket PC platform I would suggest you read through
this document:
Tech Doc Technotes - MobiLink & TCP/IP Keep-Alive
http://www.ianywhere.com/developer/...link_tcpip.html
--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).
EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm
Developer Community / Whitepapers
http://www.ianywhere.com/developer
CaseXpress - to report bugs
http://casexpress.sybase.com
CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
| |
|
| Daivid Wrote:
> Since you are on the Pocket PC platform I would suggest
> you read through this document:
> Tech Doc Technotes - MobiLink & TCP/IP Keep-Alive
>
hi There!
mobilink 9.0.2.3198
ultralite 9.01.3044
daivid this is not good enough the seggestion in the doc you
attached talking about changing the registry i don't want
to do that (i got 200 ppc in the field) the keep alive on
the ML is not relevant because this is a scenario where the
IP of the ML is dead.
i need to control the synchronize time in the code.
something like the sync params.
have a great day
Omri Ziv
| |
| David Fishburn 2005-11-10, 1:24 pm |
| Omri wrote in news:4372ebd1.2955.1681692777@sybase.com
of sybase.public.sqlanywhere.mobilink:
O> Daivid Wrote:
O>> Since you are on the Pocket PC platform I would suggest
O>> you read through this document:
O>> Tech Doc Technotes - MobiLink & TCP/IP Keep-Alive
O>>
O> mobilink 9.0.2.3198
O> ultralite 9.01.3044
O>
O> daivid this is not good enough the seggestion in the doc you
O> attached talking about changing the registry i don't want
O> to do that (i got 200 ppc in the field) the keep alive on
O> the ML is not relevant because this is a scenario where the
O> IP of the ML is dead.
For some of our past projects we did just that.
Remember, this is keepalive for BOTH side of the equation.
In one of our cases we used a PPC which connected to a cell phone via an
IR link. The cell phone dialed an ISP, which allowed us to sync with
the ML server.
If the cell lost connection the PPC never found this out since the IR
link it had between the cell phone was still active.
The next result is the DEFAULT TIMEOUT for TCPIP kicked in which was to
wait 2 HOURS before the connection was terminated.
After we modified the (useless) TCPIP defaults to more useful numbers
BOTH sides of the synchronization identified the dropped network within
10 seconds and allowed us to redial.
I can only relay our experiences. Changing and detecting these items
at the OS level is far superior.
Make you own choice.
--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).
EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm
Developer Community / Whitepapers
http://www.ianywhere.com/developer
CaseXpress - to report bugs
http://casexpress.sybase.com
CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
|
|
|
|