Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus,

OK,  I  installed  filezilla  server to my local computer and uploaded
files  to  it  using LocalHost. ICS client worked in all modes (FTP,
FTP  AuthSSL,  FTP  AuthTLS  and  Implicit).  So, there seems to be no
problem  with  local file transfers. I think the problem may be with site5
server  configuration,  which   supports  SSL  but  maybe it is not
configured properly. OR, the problem may be in routers...

Angus,   I  still  want  to try any distant FTP server to be sure that
my  ISP  is  not  to blame. You can send me test login and password to
spama...@mail.ru  and  I  will  try to upload something to your server
using ICS client, and if it fails, I will also try FileZilla client.


Sunday, February 27, 2011, 3:27:00 PM, you wrote:

 ARMSL ics.ftptest.org
 Personally, I cannot make it work even with Filezilla:

ARMSL SSL is now working with the public FTP server, the ICS FTP server was
ARMSL already configured to use a limited range of passive ports, so I just
ARMSL added these to the firewall (at the same time as blocking as various Far
ARMSL East ISPs that are hacking me) and FileZilla and ICS FTP client are now
ARMSL both working, with passive mode only. 

ARMSL If you email me privately, I'll set-up a test FTP login account so you
ARMSL can upload stuff. 

ARMSL Angus

ARMSL --
ARMSL To unsubscribe or change your settings for TWSocket mailing list
ARMSL please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
ARMSL Visit our website at http://www.overbyte.be




-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] udp packet loss

2011-02-28 Thread Anton S.
var
  lBuffer:array[0..1500] of AnsiChar;
I'd advice you not to allocate static buffer inside a method because it is 
placed inside the stack every time method is called.

-- 
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TTwitter component

2011-02-28 Thread Anton S.
TWebbrowser? ShellExec?? Chromium?? Why don't you use ICS HTTPCli for 
authorizing? You may even display an original page with powerful ThtmlViewer 
component.

-- 
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread Angus Robertson - Magenta Systems Ltd
 Angus,   I  still  want  to try any distant FTP server to be sure 
 that my  ISP  is  not  to blame. 

You don't need a login to test SSL, it works fine with anonymous, if
downloading with SSL works, then uploading will work as well.  

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus,

No, when I try to upload anything from FAR or Filezilla, I get this:

Response:   501 Permission Denied
Error:  Critical file transfer error


It looks like the server is read-only for anonymous users.



Monday, February 28, 2011, 12:40:00 PM, you wrote:

 Angus,   I  still  want  to try any distant FTP server to be sure 
 that my  ISP  is  not  to blame. 

ARMSL You don't need a login to test SSL, it works fine with anonymous, if
ARMSL downloading with SSL works, then uploading will work as well.  

ARMSL Angus

ARMSL --
ARMSL To unsubscribe or change your settings for TWSocket mailing list
ARMSL please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
ARMSL Visit our website at http://www.overbyte.be




-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] THttpWebserver and php

2011-02-28 Thread A Drent
I found some entries regarding this issue, but could not find a sufficient 
answer. If I want to use the ICS webserver to facilitate a php program (I 
don't mind invoking php as a cgi in my case) what's the best approach. Has 
someone done this before?


tnx, Albert 


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus,

I   can  download from your FTP from FileZilla. But my ICS application can
only upload, that's why I need writing permission to test.

Monday, February 28, 2011, 1:41:00 PM, you wrote:

ARMSL Once you have got SSL downloads working, I will set-up a logon, but it's
ARMSL a waste of my time if your SSL problems are elsewhere. 



-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread OBones
At the very least your application should retrieve the directory listing 
to know it is at the right place before uploading.
And retrieving the file list is a file download, so you should be able 
to test that to start with.


Antol wrote:

Hello Angus,

I   can  download from your FTP from FileZilla. But my ICS application can
only upload, that's why I need writing permission to test.

Monday, February 28, 2011, 1:41:00 PM, you wrote:

ARMSL  Once you have got SSL downloads working, I will set-up a logon, but it's
ARMSL  a waste of my time if your SSL problems are elsewhere.



   


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpWebserver and php

2011-02-28 Thread Francois PIETTE

Hi Albert,

I found some entries regarding this issue, but could not find a sufficient 
answer. If I want to use the ICS webserver to facilitate a php program (I 
don't mind invoking php as a cgi in my case) what's the best approach. Has 
someone done this before?


I never done it before, but at first glance, invoking a CGI from an ICS 
webserver application is not difficult. Invoking a CGI require the following 
actions:
1) Create a lot of environment variables with informations about server, 
client and request

2) Create pipes for input and output
3) Create the CGI process with I/O redictions to the pipes
4) Write the client request into the pipe redirected to CGI input
5) Read the pipe used for CGI output redirection until the CGI exit
6) Send the data read from the pipe to the client as the answer to the 
request.


A single TUrlHandlercan do all of that, probably creating a worker thread to 
read/write the pipes and launch de CGI executable.

CGI specifications can be found here: http://www.w3.org/CGI/

Now executing a request implemented as a PHP script involve deriving form 
TUrlHandler handler above and executing PHP interpreter configured as a CGI.


I hope this helps.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpWebserver and php

2011-02-28 Thread Francois PIETTE
btw: I answered assuming you are using THttpAppSrv component, but looking at 
your subject, maybe you are using THttpServer component. I suggest you use 
the former which is more powerful and easier.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: Francois PIETTE francois.pie...@skynet.be

To: ICS support mailing twsocket@elists.org
Sent: Monday, February 28, 2011 2:39 PM
Subject: Re: [twsocket] THttpWebserver and php



Hi Albert,

I found some entries regarding this issue, but could not find a sufficient 
answer. If I want to use the ICS webserver to facilitate a php program (I 
don't mind invoking php as a cgi in my case) what's the best approach. Has 
someone done this before?


I never done it before, but at first glance, invoking a CGI from an ICS 
webserver application is not difficult. Invoking a CGI require the 
following actions:
1) Create a lot of environment variables with informations about server, 
client and request

2) Create pipes for input and output
3) Create the CGI process with I/O redictions to the pipes
4) Write the client request into the pipe redirected to CGI input
5) Read the pipe used for CGI output redirection until the CGI exit
6) Send the data read from the pipe to the client as the answer to the 
request.


A single TUrlHandlercan do all of that, probably creating a worker thread 
to read/write the pipes and launch de CGI executable.

CGI specifications can be found here: http://www.w3.org/CGI/

Now executing a request implemented as a PHP script involve deriving form 
TUrlHandler handler above and executing PHP interpreter configured as a 
CGI.


I hope this helps.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be 


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TTwitter component

2011-02-28 Thread brian -
There's already a method through httpcli, but PIN approach should always be
encouraged.

v0.32 up

On Mon, Feb 28, 2011 at 10:32 AM, Anton S. an...@rambler.ru wrote:

 TWebbrowser? ShellExec?? Chromium?? Why don't you use ICS HTTPCli for
 authorizing? You may even display an original page with powerful ThtmlViewer
 component.

 --
 Anton
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpWebserver and php

2011-02-28 Thread A Drent

Hi Francois,

I am/was using your THttpServer component. I'll try your approach of using 
the HttpAppSvr component though. Don't have much experience with pipes, but 
there are a lot of samples regarding this. I will let you know how I 
progress, it might be nice to others too.


tnx, Albert

- Original Message - 
From: Francois PIETTE francois.pie...@skynet.be

To: ICS support mailing twsocket@elists.org
Sent: Monday, February 28, 2011 3:13 PM
Subject: Re: [twsocket] THttpWebserver and php


btw: I answered assuming you are using THttpAppSrv component, but looking 
at your subject, maybe you are using THttpServer component. I suggest you 
use the former which is more powerful and easier.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: Francois PIETTE francois.pie...@skynet.be

To: ICS support mailing twsocket@elists.org
Sent: Monday, February 28, 2011 2:39 PM
Subject: Re: [twsocket] THttpWebserver and php



Hi Albert,

I found some entries regarding this issue, but could not find a 
sufficient answer. If I want to use the ICS webserver to facilitate a php 
program (I don't mind invoking php as a cgi in my case) what's the best 
approach. Has someone done this before?


I never done it before, but at first glance, invoking a CGI from an ICS 
webserver application is not difficult. Invoking a CGI require the 
following actions:
1) Create a lot of environment variables with informations about server, 
client and request

2) Create pipes for input and output
3) Create the CGI process with I/O redictions to the pipes
4) Write the client request into the pipe redirected to CGI input
5) Read the pipe used for CGI output redirection until the CGI exit
6) Send the data read from the pipe to the client as the answer to the 
request.


A single TUrlHandlercan do all of that, probably creating a worker thread 
to read/write the pipes and launch de CGI executable.

CGI specifications can be found here: http://www.w3.org/CGI/

Now executing a request implemented as a PHP script involve deriving form 
TUrlHandler handler above and executing PHP interpreter configured as a 
CGI.


I hope this helps.
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TTwitter component

2011-02-28 Thread Anton S.
There's already a method through httpcli, but PIN approach should always be
encouraged.
I don't know what PIN is but couldn't it be implemented without external 
apps/activeX?

-- 
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread Angus Robertson - Magenta Systems Ltd
  that's why I need writing permission to test.

What you need is working valid email address:

This is the mail system at host fallback5.mail.ru.
s...@acritum.com: host acritum.com[174.132.5.68] said: 550 No Such User
Here

I did ask you to email a request, which you never did. 

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TTwitter component

2011-02-28 Thread brian -
http://dev.twitter.com/pages/auth_overview

http://dev.twitter.com/pages/auth_overviewThere's xAuth to skip the PIN
step, but requires the twitter user/pass.
Also I made a method in my lib to do almost like xAuth, simulating a browser
login, catching the cookies and posting the form etc to retrieve the data,
but that's prone to fail.

I do like the PIN step to be honest, it's only required once and the user
will feel more secure not giving their login details.

On Mon, Feb 28, 2011 at 3:34 PM, Anton S. an...@rambler.ru wrote:

 There's already a method through httpcli, but PIN approach should always
 be
 encouraged.
 I don't know what PIN is but couldn't it be implemented without external
 apps/activeX?

 --
 Anton
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTP client testing

2011-02-28 Thread Antol
Hello Angus,

I have no idea where did you find s...@acritum.com, but sp at the
beginnng supposes it is intended for spam :) Anyway, I received your
login info. Thanks.

I  think  ICS FTP SSL client works fine. I tested in all SSL modes in passive 
mode
and  had  no problems. Active mode works only in FTP mode, but I think
this is because of your firewall.

Can  I  give  your  login/password  to  that  guy who complains on the
FTP hangup? I wonder will SSL connections hang up or not.




Monday, February 28, 2011, 5:55:00 PM, you wrote:


ARMSL This is the mail system at host fallback5.mail.ru.
ARMSL s...@acritum.com: host acritum.com[174.132.5.68] said: 550 No Such User
ARMSL Here



-- 
Best regards,
 Antolmailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpWebserver and php

2011-02-28 Thread Fastream Technologies
We have a working code for CGI1.2 for ICS. It's in pascal and used in IQWF
Server (http://www.fastream.com/iqwebftpserver.php). You may contact me
privately for this (gates AT fastream DOT com).

Regards,

SubZero
On Mon, Feb 28, 2011 at 4:18 PM, A Drent albert.dr...@rug.nl wrote:

 Hi Francois,

 I am/was using your THttpServer component. I'll try your approach of using
 the HttpAppSvr component though. Don't have much experience with pipes, but
 there are a lot of samples regarding this. I will let you know how I
 progress, it might be nice to others too.

 tnx, Albert


 - Original Message - From: Francois PIETTE 
 francois.pie...@skynet.be
 To: ICS support mailing twsocket@elists.org
 Sent: Monday, February 28, 2011 3:13 PM

 Subject: Re: [twsocket] THttpWebserver and php


 btw: I answered assuming you are using THttpAppSrv component, but looking
 at your subject, maybe you are using THttpServer component. I suggest you
 use the former which is more powerful and easier.

 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be


 - Original Message - From: Francois PIETTE 
 francois.pie...@skynet.be
 To: ICS support mailing twsocket@elists.org
 Sent: Monday, February 28, 2011 2:39 PM
 Subject: Re: [twsocket] THttpWebserver and php


 Hi Albert,

 I found some entries regarding this issue, but could not find a
 sufficient answer. If I want to use the ICS webserver to facilitate a php
 program (I don't mind invoking php as a cgi in my case) what's the best
 approach. Has someone done this before?


 I never done it before, but at first glance, invoking a CGI from an ICS
 webserver application is not difficult. Invoking a CGI require the following
 actions:
 1) Create a lot of environment variables with informations about server,
 client and request
 2) Create pipes for input and output
 3) Create the CGI process with I/O redictions to the pipes
 4) Write the client request into the pipe redirected to CGI input
 5) Read the pipe used for CGI output redirection until the CGI exit
 6) Send the data read from the pipe to the client as the answer to the
 request.

 A single TUrlHandlercan do all of that, probably creating a worker thread
 to read/write the pipes and launch de CGI executable.
 CGI specifications can be found here: http://www.w3.org/CGI/

 Now executing a request implemented as a PHP script involve deriving form
 TUrlHandler handler above and executing PHP interpreter configured as a CGI.

 I hope this helps.
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be

 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] THttpWebserver and php

2011-02-28 Thread Arno Garrels
Fastream Technologies wrote:
 We have a working code for CGI1.2 for ICS. It's in pascal and used in
 IQWF Server (http://www.fastream.com/iqwebftpserver.php). You may
 contact me privately for this (gates AT fastream DOT com).

There's an old example on the user-made page, that will probably
work with current ICS and a few changes/patches.

-- 
Arno Garrels
   

 
 Regards,
 
 SubZero
 On Mon, Feb 28, 2011 at 4:18 PM, A Drent albert.dr...@rug.nl wrote:
 
 Hi Francois,
 
 I am/was using your THttpServer component. I'll try your approach of
 using the HttpAppSvr component though. Don't have much experience
 with pipes, but there are a lot of samples regarding this. I will
 let you know how I progress, it might be nice to others too.
 
 tnx, Albert
 
 
 - Original Message - From: Francois PIETTE 
 francois.pie...@skynet.be
 To: ICS support mailing twsocket@elists.org
 Sent: Monday, February 28, 2011 3:13 PM
 
 Subject: Re: [twsocket] THttpWebserver and php
 
 
 btw: I answered assuming you are using THttpAppSrv component, but
 looking 
 at your subject, maybe you are using THttpServer component. I
 suggest you use the former which is more powerful and easier.
 
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 
 - Original Message - From: Francois PIETTE 
 francois.pie...@skynet.be
 To: ICS support mailing twsocket@elists.org
 Sent: Monday, February 28, 2011 2:39 PM
 Subject: Re: [twsocket] THttpWebserver and php
 
 
 Hi Albert,
 
 I found some entries regarding this issue, but could not find a
 sufficient answer. If I want to use the ICS webserver to
 facilitate a php program (I don't mind invoking php as a cgi in
 my case) what's the best approach. Has someone done this before?
 
 
 I never done it before, but at first glance, invoking a CGI from
 an ICS webserver application is not difficult. Invoking a CGI
 require the following actions:
 1) Create a lot of environment variables with informations about
 server, client and request
 2) Create pipes for input and output
 3) Create the CGI process with I/O redictions to the pipes
 4) Write the client request into the pipe redirected to CGI input
 5) Read the pipe used for CGI output redirection until the CGI exit
 6) Send the data read from the pipe to the client as the answer to
 the request.
 
 A single TUrlHandlercan do all of that, probably creating a worker
 thread to read/write the pipes and launch de CGI executable.
 CGI specifications can be found here: http://www.w3.org/CGI/
 
 Now executing a request implemented as a PHP script involve
 deriving form TUrlHandler handler above and executing PHP
 interpreter configured as a CGI. 
 
 I hope this helps.
 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto
 http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket 
 Visit our website at http://www.overbyte.be
 
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto
 http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our
 website at http://www.overbyte.be 
 
 
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Strange UDP behaviour

2011-02-28 Thread Éric Fleming Bonilha
Hi

I don´t know if this message is OT, maybe slight OT, but I´m facing an 
interesting problem with UDP datagrams and Windows 7/2008 stack

Well, we have a scenario where a machine can´t receive over 30 mbits of UDP 
data on a local gigabit ethernet, and to make it worse, the whole windows 
TCP/IP stack becomes unstable, and I mean that because if we use ping 127.0.0.1 
–t we see strange delays as 30ms, even 800ms!

After a lot of researching on the problem, we found that some video equipments 
that we are receiving video (RTP over UDP), sends each packet of video from a 
different source port! The source port is always incremented for each packet 
the equipment sends, and there are about 50 equipments sending about 170 
packets per second each equipment, giving a total of 2mbits of data per second 
per equipment. 

I made a little program to test such behaviour, I opened a server on a machine, 
listening on 50 UDP ports and a client on 4 different machines sending 
datagrams to this server. if I send the UDP packets all from the same source 
port (Same “connection”) I can receive over 200mbits of data easily, but if I 
change the client to send 1 packet per source port (By calling Close and 
Connect each time I send a new UDP packet) then, the server will not be able to 
receive more than 30mbits and ping 127.0.0.1 –t from the server will start 
delaying to 5~10ms.

I believe that this is something related to windows 7/2008 IP stack 
implementation, does anybody have an idea on why does this happens? Maybe the 
overhead of managing packets from different source ports is too high!

Oh, I´m using TWSocket to receive UDP data

Thanks!
Éric
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

[twsocket] Rather strange HTTP/SSL/POST issue

2011-02-28 Thread Fastream Technologies
Hello,

In our product, we have a client/server GUI that uses HTTPS to POST XML for
administration. Both the client and the server uses ICS. In the past, the
client was using Wininet which was working perfectly. The issue is strange
because it does not happen when the computer is rebooted and the client and
server are run for the first time. When I re-run the client against the
server, winsock error 10053 occurs. I first guessed it was due to OpenSSL
and the self-signed certificate we are using. When I restart the server and
the client, it happens too! (That is the strange thing.) It only works when
the machine is rebooted. I tried changing the OpenSSL DLL names separately
for IQPSSLEAY32.DLL/IQPLIBEAY32.DLL and
IQPGUISSLEAY32.DLL/IQPGUILIBEAY32.DLL but no luck. (

The machine is a 32-bit Windows 2008 R1 SP2. It works perfectly on Win2008R2
x64 and Win7Pro x64. It has always worked on Win7 but I believe I have had
to turn off keep-alive for it to work on Win2008R2.

You can see it (blackbox) here:
http://www.fastream.com/beta/IQProxyServer.exe (sorry, closed-source)

Any help will be appreciated.

Regards,

SubZero
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be