mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 05:39:29 +01:00 
			
		
		
		
	+ On error client name is printed
This commit is contained in:
		
							parent
							
								
									d1e0f8af25
								
							
						
					
					
						commit
						81976c3f30
					
				@ -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');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user