Synthesis AG - SyncML Discussion Forum  

Go Back   Synthesis AG - SyncML Discussion Forum > Synthesis SyncML Products (english) > SyncML Servers (Linux, Windows, MacOS X)

Reply
 
Thread Tools Display Modes
  #1  
Old 2007-09-03, 13:41
fpanei fpanei is offline
Junior Member
 
Join Date: 2007-09
Posts: 2
Default syncserv_demo, using a different port for every post

Hi,

I am using the demo version of the server to test a client I am working on.

I have reach a point where :
client server
-POST-> OK
<------ OK
-POST-> OK
no answer.

Capturing the TCP stream, I have seen that my transport layer is using a different port for each POST and the socket with first port is still open when sending the second POST.

Could you confirm that demo version can only use one socket at a time?

Thanks.
Reply With Quote
  #2  
Old 2007-09-15, 01:36
luz's Avatar
luz luz is offline
plan44.ch
 
Join Date: 2006-06
Posts: 348
Default Re: syncserv_demo, using a different port for every post

Quote:
Originally Posted by fpanei View Post
Could you confirm that demo version can only use one socket at a time?
It can only handle one session at a time, and it cannot process requests concurrently, but the listen/accept mechanism is implemented in a perfectly normal way. Of course, when the server is busy, no further connection would be immediately accepted, but this would harm only if your client had a very short connection timeout.
__________________
Lukas Zeller, plan44.ch
Reply With Quote
  #3  
Old 2007-09-27, 17:27
fpanei fpanei is offline
Junior Member
 
Join Date: 2007-09
Posts: 2
Default Re: syncserv_demo, using a different port for every post

I am not a specialist in this field so I have looked for an easy solution. I found a way to configure my TCP stack so that it uses the same port during the complete sync session (which does not work for some other applications but allows me to test my syncML client).

Thank you for answering anyway.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 01:16.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.