10 More Discussions You Might Find Interesting
1. Programming
I have very little experience with gcc compilation under different environments, so please bear with me. I carried over 20 years old project into Ubuntu 18.04, it has old style K&R parameters, no function declarations to speak of, many functions without return are not declared void, and on and... (8 Replies)
Discussion started by: migurus
8 Replies
2. Programming
I follow the description of wiki (Lamport's bakery algorithm - Wikipedia, the free encyclopedia), then implement that algorithm in C, but it doesn't work, Starving is still here, is the implementation worry?
Only print out:
Thread ID: 0 START!
Thread ID: 0 END!
Thread ID: 0 START!... (2 Replies)
Discussion started by: sehang
2 Replies
3. HP-UX
Hi,
How can i find which ansi c precompiler are installed on my hp-ux b11.23 itanuim machine ?
Thanks (3 Replies)
Discussion started by: yoavbe
3 Replies
4. HP-UX
I want to convert a file from Unix-ANSI to PC-ANSI format. How can i achieve that? (0 Replies)
Discussion started by: ssmallya
0 Replies
5. Shell Programming and Scripting
Hi,
I am creating a file in Unix using a shell script. The file is getting created in the Unix - ANSI format. My requirement is to convert it to the PC - ANSI format. Can anyone tell me how to do this?
Thanks,
Sunil (0 Replies)
Discussion started by: ssmallya
0 Replies
6. Programming
I am a student. And need help on following program. I want to make a c program.
I have to scan a sentence and I have to interchange a word from that sentence.
Example: Scan the sentence is " Drilling machine and Milling machine " . Replace the word "machine" by "operation". And output should... (2 Replies)
Discussion started by: dhaval chevli
2 Replies
7. HP-UX
Good Day
I downloaded Server Evaluation copy of C/ANSI compiler, but when I try to compile a file with it, it gives me following error - (for HP-UX 11.11 v1 PA-RISC)
Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.
Detailed Errors are as follows
Internal... (3 Replies)
Discussion started by: shawnbishop
3 Replies
8. Programming
can somebody explain about the ANSI C vs POSIX. say i was using open and fopen, i know that open is POSIX, and fopen is ANSI C. i read that that POSIX is a system call and ANSI C is like a standard library function. wouldn't the fopen function has to call on open function anyway to open any kind... (2 Replies)
Discussion started by: bb00y
2 Replies
9. Programming
Dear All,
I have to develope some C functions in Unix for a Magic program. The original MSE code which compiles the attached C program uses a +z option, but the cc compiler don't know this. The complete command in the compiler script is 'cc -c -Aa +z myfile.c'. The warning message is 'The -z... (4 Replies)
Discussion started by: Frankie
4 Replies
10. Programming
To anyone that can answer this:
Are the differences great between the ANSI and K&R standard? What are some of the major differences between them??
-REM (1 Reply)
Discussion started by: REM
1 Replies
6TUNNEL(1) General Commands Manual 6TUNNEL(1)
NAME
6tunnel - tunnelling for application that don't speak IPv6
SYNOPSIS
6tunnel [ -146dhfv ] [ -u username ] [ -i password ] [ -I password ] [ -l local_host ] [ -L limit ] [ -p pid_file ] [ -m map_file ]
local_port remote_host [ remote_port ]
DESCRIPTION
6tunnel allows you to use services provided by IPv6 hosts with IPv4-only applications and vice-versa. It can bind to any of your IPv4
(default) or IPv6 addresses and forward all data to IPv4 or IPv6 (default) host. For example
6tunnel -1 6668 irc6.net 6667
will be enough to connect to IPv6 irc server with
irc foobar localhost:6668
If you don't wish to run 6tunnel every time you want to show your :c001: or :dead: IPv6 address on IRC, you can use -i parameter, which
makes 6tunnel ask your client for specified password. Just run
6tunnel -i dupa.8 31337 irc6.net 6667
and then type
irc foobar localhost:31337:dupa.8
If your IRC server requires you to send password, specify it with -I parameter -- after successful proxy authentication 6tunnel will send
it to the server.
6tunnel can also be used as a tunnel for all other combinations of IPv4 and IPv6 endpoints. If remote host doesn't have any IPv6 addresses,
6tunnel will use the IPv4 one. In other cases, use -4 parameter which makes IPv4 address the preffered one. For IPv6-to-any tunnels use -6
which makes 6tunnel bind to IPv6 address.
OPTIONS
-1 Exit after first connection.
-4 Preffer IPv4 endpoint if the machine has both address types.
-6 Listen on IPv6 address (IPv4 is default).
-d Don't detach.
-f Force tunneling even if remote host is not resolvable at the execution time.
-h Print hex dump of every packet received or sent (hu-huh, Beavis, he said hex dump!)
-u username
Change UID and GID after bind().
-i password
Act as an IRC proxy and require user to authenticate.
-I password
If you are using 6tunnel as an IRC proxy and the IRC server requires you to send password, place it right here.
-l local_host
Listen on specified address (IPv4, or IPv6 if -6 used).
-L limit
Limit simultaneous connections.
-p pid_file
Write down pid to specified file.
-s source_host
Connect to the remote host using specified source address.
-m map_file
Binds to specified IPv6 addresses on basis of source IPv4 address. The file contains one mapping per line with IPv4 source address
and corresponding IPv6 address. Only listed hosts are allowed to connect. If you want to allow any host, add mapping for default or
0.0.0.0 address. Example:
192.168.0.2 3ffe:8010:18::1000:2
192.168.0.3 3ffe:8010:18::1000:3
-v Be verbose and don't detach.
SIGNALS
Sending SIGHUP forces map file reload.
THANKS
#ipv6 crew, Lam.
BUGS
Terrible man page. Hex dump doesn't include IRC proxy authentication. IRC proxy requires your client to send password first (don't worry
ircii, EPIC, BitchX, mIRC and many more will work). No logging except debug output.
AUTHORS
Wojtek Kaniewski (wojtekka@toxygen.net), Dariusz Jackowski (ascent@linux.pl), Ramunas Lukosevicus (lukoramu@parok.lt)
SEE ALSO
ssh(1)
Aug 18, 2005 6TUNNEL(1)