Dan Fandrich 
							
						 
					 
					
						
						
							
						
						784db8e987 
					 
					
						
						
							
							Added header file to allow compiling in older environments  
						
						
						
						
					 
					
						2010-10-20 22:19:38 -07:00 
						 
				 
			
				
					
						
							
							
								Guenter Knauf 
							
						 
					 
					
						
						
							
						
						4b878e7cf8 
					 
					
						
						
							
							Added include for sys/select.h to get fd.set on some platforms.  
						
						
						
						
					 
					
						2010-08-17 01:34:32 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						31d71a94f2 
					 
					
						
						
							
							sftp_write_nonblock: select() on socket, use *BIG* buffer, time transfer  
						
						... 
						
						
						
						The select() is just to make it nicer so that it doesn't
crazy-loop on EAGAIN. The buffer size thing is mostly to verify
that this really work as supposed.
Transfer timing is just a minor thing, but it can just as well be
there and help us time and work on performance easier using out
of the box examples. 
						
						
					 
					
						2010-06-11 16:03:33 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						7bbefe0660 
					 
					
						
						
							
							examples: avoid use of uninitialized variable 'sock'  
						
						
						
						
					 
					
						2010-04-30 12:30:24 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						0862a1a39a 
					 
					
						
						
							
							examples: remove assignments of variable rc that's never used  
						
						
						
						
					 
					
						2010-04-28 09:05:19 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Stenberg 
							
						 
					 
					
						
						
							
						
						cb42be1a9c 
					 
					
						
						
							
							examples: fixed and made them more similar  
						
						... 
						
						
						
						The channel read/write functions can return 0 in legitimate cases
without it being an error, and we need to loop properly if they
return short. 
						
						
					 
					
						2010-04-26 16:49:30 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						7301036421 
					 
					
						
						
							
							Eat our own dog food, call libssh2_init and libssh2_exit in the examples.  
						
						
						
						
					 
					
						2010-03-19 09:35:00 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Stuge 
							
						 
					 
					
						
						
							
						
						6df87e64b7 
					 
					
						
						
							
							Use LIBSSH2_HOSTKEY_HASH_SHA1 instead of _MD5 in examples and tests  
						
						... 
						
						
						
						MD5 support is optional and may not always be available, while SHA1 is both
required and recommended. 
						
						
					 
					
						2010-01-29 23:06:31 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Josefsson 
							
						 
					 
					
						
						
							
						
						b5e358618b 
					 
					
						
						
							
							Move examples from example/simple to example/.  
						
						
						
						
					 
					
						2009-12-19 10:54:45 +01:00