Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								f3ee46b82a
								
							
						 | 
						
							
							
								
								Set the SO_REUSEADDR socket option in the server thread -- this seems
							
							
							
							
							
							
							
							needed on some platforms (e.g. Solaris 8) when the test is run twice
in quick succession. 
							
						 | 
						
							2001-04-15 00:42:13 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								9df3eabd6e
								
							
						 | 
						
							
							
								
								Add "import thread" at the top of the module; this prevents us from
							
							
							
							
							
							
							
							failing later when Python is compiled without threading but a failing
'threading' module can be imported due to an earlier (caught) attempt. 
							
						 | 
						
							2001-04-14 14:35:43 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								dca060c55c
								
							
						 | 
						
							
							
								
								After testing the test on Unix, several improvements:
							
							
							
							
							
							
							
							- Use push() instead of send(), and make these calls in main().
- Sleep a second to give the server thread time to initialize itself. 
							
						 | 
						
							2001-04-06 16:43:49 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Guido van Rossum
								
							 
						 | 
						
							
							
							
							
								
							
							
								66172520ee
								
							
						 | 
						
							
							
								
								Add test for asynchat.  This also tests asyncore.
							
							
							
							
							
						 | 
						
							2001-04-06 16:32:22 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |