Re: [twsocket] send file to a http link or to a linux address usingICS

2006-03-17 Thread Francois Piette
> I find that the server side script may require different format. > When I did upload to a PHP page, I had to hand craft the MIME > content. It may not work with a non-PHP server side. The MIME format PHP use is standard. Actually it is produced by any standard browser. Of course using the ICS H

Re: [twsocket] Odd Behaviour

2006-03-17 Thread Allan Fernandes
Hi , >> You know that FTP protocol use TWO ports. One for control and one for data. >> Maybe the data port on a server collide with the control port or data port for another one. Firstly let me apologise for my delayed reply. As I am new to this socket programming I had to read up and try out th

[twsocket] Slow Messages

2006-03-17 Thread Larini
Hi, I have problems in the following situation: My client send a message to server and wait a response from server. This operation takes about 50ms to 3 seconds using TCP component and adsl connection. I need a more stable times. Something about 300 ms or less. In a local network the time is le

Re: [twsocket] Slow Messages

2006-03-17 Thread Francois Piette
> Hi, I have problems in the following situation: > My client send a message to server and wait a response from server. > This operation takes about 50ms to 3 seconds using TCP component and adsl > connection. > I need a more stable times. Something about 300 ms or less. > In a local network the ti

Re: [twsocket] Slow Messages

2006-03-17 Thread Arno Garrels
Larini wrote: > Hi, I have problems in the following situation: > > My client send a message to server and wait a response from server. No problem except your program is WAITING in some loop. With ICS you never need to wait for a response, instead an event is triggered when new data arrives. Rea

Re: [twsocket] Slow Messages

2006-03-17 Thread Dod
Hello Larini, You should do some ping from client up to your server just to see if pings are also rather slow/unstable. L> Hi, I have problems in the following situation: L> My client send a message to server and wait a response from server. L> This operation takes about 50ms to 3 seconds using T

Re: [twsocket] Slow Messages

2006-03-17 Thread Larini
Here is ping and tracert output: C:\Documents and Settings\larini>ping my_ip Disparando contra my_ip com 32 bytes de dados: Resposta de my_ip: bytes=32 tempo=134ms TTL=116 Resposta de my_ip: bytes=32 tempo=198ms TTL=116 Resposta de my_ip: bytes=32 tempo=104ms TTL=116 Resposta de my_ip: bytes=32

Re: [twsocket] Slow Messages

2006-03-17 Thread Angus Robertson - Magenta Systems Ltd
> This operation server -> client -> server using wsocket takes 500, > 600, 2000ms... This is a log from one of my applications, running on a vehicle, using wireless LAN, then ADSL across the country, contacting an ICS server, updating a SQL database and responding with anything queued in SQL, a

Re: [twsocket] Slow Messages

2006-03-17 Thread Francois PIETTE
> My app look like: > > Server: > procedure xyz > ready=false > send message number 101 to client. > while not ready do > processmessages > sleep This is bad. Remove your wait loop and use pure event driven operation. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html --

[twsocket] create custom Client for Microsoft Networks

2006-03-17 Thread [EMAIL PROTECTED]
___ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at

[twsocket] create custom Client for Microsoft Networks

2006-03-17 Thread [EMAIL PROTECTED]
Sorry, the previous mail was send empty by an error. Does anyone knows something about how can I create a custom "Client for Microsoft Networks". It must provide more functions than the usual one and I don't know where to start. Thank you Radu _