| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Guest 
 
 
 
 
 
 
 | 
			
				|  Posted: Fri Jan 13, 2006 1:39 am    Post subject: netcat (nc-1.82-fc4.1)  + FC4 |   |  
				| 
 |  
				| it should be noted that nc in FC4 does not allow you to do: 
 nc -l -p 9000 (as shown on the documentation for device-image)
 
 this is straight from nc's manpage:
 
 -l      Used to specify that nc should listen for an incoming connection
 rather than initiate a connection to a remote host.  It is an
 error to use this option in conjunction with the -p, -s, or -z
 options.
 
 Instead, I think all you have to do is omit the "-l" and just do "nc -p 9000" etc etc...
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Guest 
 
 
 
 
 
 
 | 
			
				|  Posted: Fri Jan 13, 2006 1:44 am    Post subject: |   |  
				| 
 |  
				| oops that last part should be 
 "nc -l 9000"
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| jurij Site Admin
 
 
 Joined: 05 Apr 2005
 Posts: 54
 Location: Germany
 
 | 
			
				|  Posted: Fri Jan 13, 2006 8:03 pm    Post subject: |   |  
				| 
 |  
				| Hi, 
 thank you for this hint. I think that following in the documentation should be mentioned:
 The usage of options for nc in this docu is based on the man page of original implementation of netcat by *Hobbit* <hobbit@avian.org>.
 Any deviations from the original implementation may have other options which need to be considered.
 
 Example: netcat for Fedora Core is re-written nc(1) for OpenBSD with different usage of -l and -p options.
 
 Regards,
 Jurij
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |