win/mingw (also dramatic improvement):
---
Harbour 2.0.0beta2 (Rev. 11928)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'tstrcv.prg'...
Lines 108, Functions/Procedures 4
Generating C source output to 'tstrcv.c'... Done.

First line: This is connection: 1
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 2
connection closed, lines: 1002
time: 0.73 sec.
First line: This is connection: 3
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 4
connection closed, lines: 1002
time: 0.73 sec.
First line: This is connection: 5
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 6
connection closed, lines: 1002
time: 0.74 sec.
First line: This is connection: 7
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 8
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 9
connection closed, lines: 1002
time: 0.75 sec.
First line: This is connection: 10
connection closed, lines: 1002
time: 0.75 sec.
==============================
total client time: 7.56 sec.^
==============================
client stopped
server socked closed:          0
server stopped

Harbour 2.0.0beta2 (Rev. 11928)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'tstrcv.prg'...
Lines 108, Functions/Procedures 4
Generating C source output to 'tstrcv.c'... Done.

First line: This is connection: 1
connection closed, lines: 1002
time: 0.05 sec.
First line: This is connection: 2
connection closed, lines: 1002
time: 0.05 sec.
First line: This is connection: 3
connection closed, lines: 1002
time: 0.03 sec.
First line: This is connection: 4
connection closed, lines: 1002
time: 0.03 sec.
First line: This is connection: 5
connection closed, lines: 1002
time: 0.03 sec.
First line: This is connection: 6
connection closed, lines: 1002
time: 0.03 sec.
First line: This is connection: 7
connection closed, lines: 1002
time: 0.03 sec.
First line: This is connection: 8
connection closed, lines: 1002
time: 0.05 sec.
First line: This is connection: 9
connection closed, lines: 1002
time: 0.05 sec.
First line: This is connection: 10
connection closed, lines: 1002
time: 0.03 sec.
==============================
total client time: 0.52 sec.*
==============================
client stopped
server socked closed:          0
server stopped
---

Brgds,
Viktor

On Wed, Jul 29, 2009 at 7:21 PM, Viktor Szakáts<[email protected]> wrote:
>
> On 2009.07.29., at 7:14, Przemyslaw Czerpak wrote:
>
>> On Wed, 29 Jul 2009, Szak�ts Viktor wrote:
>>>
>>> Probably some dead obvious reason, but I'm getting:
>>> 'bind/listen error'
>>> hbmk2 tstrcv.prg -mt
>>> with latest SVN and mingw.
>>> (firewall is turned off)
>>> Any ideas?
>>
>> Add at the beginning of test code:
>>
>>  hb_inetInit()
>
> Thanks.
>
>>
>> just before:
>>
>>  sock := hb_inetServer( s_nPort )
>>
>> it's necessary only in Windows builds and I still forgot about it.
>> Maybe we should add automatic socket initialization in windows builds.
>
> I think we should, ideally core components shouldn't need such
> explicit startup/shutdown procedure, especially if this is platform
> specific.
>
> Pls hold on for test results.
>
> Brgds,
> Viktor
>
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to