Thanks, Marco, Anton. Select it is!
On Sep 14, 2005, at 9:08, Marco van de Voort wrote:
Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work
with Darwin (FreeBSD).
type
p : pointer;
t : TimeVal;
t.tv_sec := mSec div 1000;
t.tv_usec := ( mSec mod 1000 ) * 1000;
p := @t
> Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work
> with Darwin (FreeBSD).
>
> type
>p : pointer;
>t : TimeVal;
>
> t.tv_sec := mSec div 1000;
> t.tv_usec := ( mSec mod 1000 ) * 1000;
> p := @t;
> if SetSocketOptions( fSocket, SOL_SOCKET, SO_SNDTIMEO, p, SizeOf( t
Paul Davidson wrote:
Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work
with Darwin (FreeBSD).
type
p : pointer;
t : TimeVal;
t.tv_sec := mSec div 1000;
t.tv_usec := ( mSec mod 1000 ) * 1000;
p := @t;
if SetSocketOptions( fSocket, SOL_SOCKET, SO_SNDTIMEO, p, SizeOf( t
Søren Ager napsal(a):
> On 09-09-05 23.35, Tomas Hajny wrote:
>
>> Sorry, I had your e-mails (together with many other :-( ) in backlog
>> from the time of my holiday...
>
> No problem - hope you had a great holiday.
Yes, it was a good one, although somewhat rainy. ;-)
>> For the first question
Trying to get SetSocketOptions for SO_RCVTIMEO and SO_SNDTIMEO to work
with Darwin (FreeBSD).
type
p : pointer;
t : TimeVal;
t.tv_sec := mSec div 1000;
t.tv_usec := ( mSec mod 1000 ) * 1000;
p := @t;
if SetSocketOptions( fSocket, SOL_SOCKET, SO_SNDTIMEO, p, SizeOf( t ) )
<> 0 etc
returns
> All of the Pascals that I have used allowed the
> following shorthand, an extension:
> reset(aFile, FileNameString); {or rewrite, etc.}
> I tried overloading reset() ... but it didn't work.
procedure reset(var f:text; const fn:string);
begin
assign(f, fn);
system.reset(f);
end;
procedure r
Paul Davidson wrote:
> This fix works, but now:
That's Jonas' job :)
>
> h2pas.pas:5708:Fixup of 34988 too large for field width of 16 bits
> h2pas.pas:5683:Fixup of 35076 too large for field width of 16 bits
> h2pas.pas:5664:Fixup of 35140 too large for field width of 16 bits
> h2pas.pas:5622:
Bob Barry wrote:
> In the course of trying to compile fpc docs, I compared file msg2inc.pp
> of svn to that of the fpc-2.0.0 source tarball. No change whatsoever
> had been made to the code, but all the revision history has been
> removed since fpc-2.0.0. This means that users will henceforth be