[fpc-pascal]SSockets + NT + CRT

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Tue Jul 10 01:10:13 CEST 2001


On Mon, 9 Jul 2001, Thomas Schatzl wrote:

> Hi,
>
>     I was searching for some useful socket related source and found the
> ssockets unit in the fcl. My question about it is whether it is available /
> has been tested for the windows platform too.

Not yet. The functions have not even been implemented for the windows
platform. This should be done, but lack of time prevented me from doing
this. It should not be to hard to do this.

>
> Is there any unit common for all platforms supporting sockets to resolve
> host names for inet - type sockets ? These calls seem to be missing in the
> sockets units ? Which units do I have to use for which platforms to
> accomplish that ?

No.
The idea was that the inet unit should handle this for all platforms,
but at the moment, I think these calls reside in the sockets unit for
Windows. They should be removed and moved to the inet unit.

>
> FPC programs still behave somewhat weird in a NT command shell when
> the crt unit is used. Text output always seems to start at line 0 of the
> virtual screen regardless of where the actual cursor was at program start
> and always seems to use a fixed screen buffer area (80x50 ??) regardless of
> actual window dimensions....

This is a known problem.

> Are there any plans to fix this in the future ?

If you have a fix, we'll be glad to apply it.

> I thought I made some crt patches available which fixed all previous
> problems, what's their current state ?

:/ I don't know about that. Florian or Peter look after the crt unit on
windows, I think...

Michael.





More information about the fpc-pascal mailing list