10-19-2012
Thank you expl for replying to my post. I'll look into the select function and doing what you suggest. I still would like to know why the pipes aren't working though. I think it would be good to know how to use pipes successfully.
10 More Discussions You Might Find Interesting
1. Programming
I have been trying to write a very basic chat program but at the moment I am having problems getting it to be multiuser as it closes all connections when one client shutsdown. I have also been having problems trying to get the program to display a list of usernames to the clients. I have tried... (0 Replies)
Discussion started by: dooker
0 Replies
2. Programming
Good day everyone,
I'm doing a chat client-server program:server is to receive messages from clients through a TCP port and multicast them back to all clients through a UDP port.
This is my client program. I'd not know why it just sends and receives msg from server once, then it stops.
Is... (1 Reply)
Discussion started by: powermind
1 Replies
3. Programming
here is the concept:
the client reads a pathname from the standard input and writes it to pipe1.The server reads this pathname from the pipe1 and tries to open the file for reading.If the server can open the file ,the server responds by reading the file and writting it to pipe2;otherwise the... (2 Replies)
Discussion started by: tolkki
2 Replies
4. UNIX for Dummies Questions & Answers
I want to make the following programm.
Using the server/client model I want 2 client to connect to the server then the server sends back to the clients the ip address and a number of a poort in order to open a udp connection between clients without using the server?
What I have done since now is... (2 Replies)
Discussion started by: kasma
2 Replies
5. Programming
How can i make two client to chat with each other.. without any work of server, i mean peer to peer i am making chat messenger on which all host will connect to/via server and if any host want private chat then thay work independently...
this is code(attached) which i have made for server... (1 Reply)
Discussion started by: bt87
1 Replies
6. UNIX for Dummies Questions & Answers
The task is to create a server client chat that contains a few basic safeguards against floods etc and which is capable of issuing at least one or two commands on the client computer. Working samples of such arrangements abound but freeware/shareware samples are not readily available. A catch in... (3 Replies)
Discussion started by: Bobby
3 Replies
7. Homework & Coursework Questions
request
create a chat system in linux where a user type smth and all the other users connected to server get the message.then a user have to create join leave or delete a channel of chat if he created it.i did the server and the client but i dont know how to implemt the chat rooms.i was ... (1 Reply)
Discussion started by: demonmind
1 Replies
8. 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
9. Programming
hello everyone,
i am making chat server in linux using c. i have made programs in which group chat can take place between multiple clients but i am not able to understand how to make 2 particular clients chat with each other. please help!!! (1 Reply)
Discussion started by: sweetbella
1 Replies
10. UNIX for Advanced & Expert Users
Besides talk and write are there any other good programs for talking to a particular user on the same Linux system. (1 Reply)
Discussion started by: cokedude
1 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)