<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE>Üzenet</TITLE>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>I found a problem at
night, and ia cannot solve it in 5 hours.</FONT></SPAN></DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>I wrote the simple
server side on linux (socket, bind, listen.... accept). I connect to this server
with a simple Delphi5 client on port 2001 (i tried any other). The "while (not
eof(sin))" stops and waits for the forst packet, and so on.</FONT></SPAN></DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>But on windows (with
win32 compiler) the same program can read garbage data from sin (text type) and
the data is infinity, so i cannot be the end of data.</FONT></SPAN></DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>What is the
difference betwwen win32 and linux socket units? What can I do to compile the
program perfectly on win32?</FONT></SPAN></DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>// I tried to use
file against text sin, sout, and read it by blockread, but it was the
same.</FONT></SPAN></DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=729321808-15082003><FONT face=Arial size=2>Thanx! Best
regards</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2>#Tsch : Balázs Csaba </FONT></DIV>
<DIV> </DIV></BODY></HTML>