+ On error client name is printed

This commit is contained in:
michael 2000-05-18 16:28:56 +00:00
parent d1e0f8af25
commit 81976c3f30

View File

@ -35,7 +35,7 @@ begin
PError ('Server : Listen : ');
Writeln('Waiting for Connect from Client, run now sock_cli in an other tty');
if not Accept (S,FromName,Sin,Sout) then
PError ('Server : Accept : ');
PError ('Server : Accept : '+fromname);
Reset(Sin);
ReWrite(Sout);
Writeln(Sout,'Message From Server');