09-18-2001
how to passing message along pipes??
Dear All,
Would you tell me how I can passing a message along pipes?
I have built a token ring connected with pipes, but I don't know how to pass the message along it through the command line...
Thx.
Yours,
i-
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
2. Linux Benchmarks
Is there any benchmark programs for Message Passing like SPLASH-2 for Shared Memory. (0 Replies)
Discussion started by: gkreddy
0 Replies
3. UNIX for Advanced & Expert Users
i want to add a system call(successfuly added) and pass the message(which contains int and a string)
/*code i used my program calling system call printmsg*/
message mm;
mm.m1_i1=10;
mm.m1_p1="hello";
printmsg(&mm);
/*user library*/
printmsg(*m1)
{
printf("integer... (1 Reply)
Discussion started by: kathir_dz
1 Replies
4. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
5. Programming
I want to have a message send & receive through 2 half-duplex pipes
Flow of data
top half pipe
stdin--->parent(client) fd1--->pipe1-->child(server) fd1
bottom half pipe
child(server) fd2---->pipe2--->parent(client) fd2--->stdout
I need to have boundary structed message... (1 Reply)
Discussion started by: ouou
1 Replies
6. Solaris
Hello,
Has somebody download it before oracle deleted from support section?
I tried dl it from:
oracle.com/us/products/tools/message-passing-toolkit-070499.html Oracle Message Passing Toolkit
but:
section decommissioned. Same in support and edelivery
I phoned to oracle support and... (2 Replies)
Discussion started by: time0ut
2 Replies
7. Shell Programming and Scripting
I have an for loop that reads the following file
cat param.cfg
val1:env1:opt1
val2:env2:opt2
val3:env3:opt3
val4:env4:opt4
.
.
The for loop extracts the each line of the file so that at any one point, the value of i is
val1:env1:opt1 etc...
I would like to extract each... (19 Replies)
Discussion started by: goddevil
19 Replies
8. Shell Programming and Scripting
I have one script that calls another script during execution. The other script does some processing, then either returns with exit 0 (if successful), or exits with error code numbers (if failed). However, in addition to the error code, I would like for that second script to be able to pass a... (4 Replies)
Discussion started by: AcerAspirant
4 Replies
9. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
10. IP Networking
Hi,
I am trying my hand in networking programming in C, and got stuck in piping.
I was following some tutorial and did the forking like :
while (1)
{
newsockfd = accept(sockfd,
(struct sockaddr *) &cli_addr, &clilen);
if (newsockfd < 0)
... (4 Replies)
Discussion started by: abhi1988sri
4 Replies
LEARN ABOUT DEBIAN
pipenightdreams
PIPENIGHTDREAMS(6) Games Manual PIPENIGHTDREAMS(6)
NAME
pipenightdreams - Just another pipe trip (PipeDream clon).
SYNOPSIS
pipenightdreams [--datadir <DATADIR>] [--fullscreen]
DESCRIPTION
pipenightdreams is a PipeDream style game. The objetive of the game is to carry liquid from some point to the exit using different kinds
of pipes. On each level there is a minimum number of required pipes that should be at least reached for it to be completed.
The score is increased by using as many pipes as possible an by collecting various bonus tokens making the liquid pass through their pipes.
There are also life bonus and, hopefully soon, "freeze tokens".
The game is not exactly a copy of PipeDream. It's based only on the facts I remember and on many other things which have been added, or
changed hoping for making it better.
KEYS
The game is entirely played using the keyboard and the key layout is as follows:
SPACE Puts the next pipe where the pointer is.
CURSOR KEYS
Move the pointer.
ENTER Speeds up the liquid (Avoids skillful players to get bored).
ESC Goes back to the main screen or exits.
BONUS TYPES
The various types of bonus tokens are the following:
LIFE BONUS
The purple one with a "L" on it.
SUPER BONUS
The red one with a "B" on it.
ULTRA BONUS
The blue one.
HYPER BONUS
The green one.
OPTIONS
--datadir <CUSTOM DATA DIR> is used when the data directory is not the default one ( /usr/share/games/pipenightdreams if installed from a
rpm package and /usr/local/share/games/pipenightdreams when installed by compiling the source package).
--fullscreen switchs to fullscreen mode.
BUGS
Not known.
SEE ALSO
Pipenightdreams home page at
http://www.libsdl.org/projects/pipenightdreams
AUTHORS
Waldemar A. Baraldi <baraldi@lacasilla.com.ar>
23rd May 2002 PIPENIGHTDREAMS(6)