Parcourir la source

+ On error client name is printed

michael il y a 25 ans
Parent
commit
81976c3f30
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/sockex/socksvr.pp

+ 1 - 1
docs/sockex/socksvr.pp

@@ -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');