View Single Post
Old Feb 21st, 2007, 10:07 PM   #3
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 327
Rep Power: 4 cwl157 is on a distinguished road
well the purpose of the program is to make a chat program between 2 users logged onto the same machine. However, each user can talk to more than one person but no conference calls so only 2 way communication. It starts by recognizing the word send and then a user name is entered after that and then a named pipe connection is made and a message is sent and then the receiving user receives the message and can send back. And the user can be talking to multiple users at the same time. However, as you said the more i think about it the more i do not think this is possible since when a pipe is set up to send and receive it is always waiting to send or always waiting to receive so how do you receive on the end thats waiting to send without breaking out of the pipe and entering a new one to receive? The only way i can see how to do it is to type send and the user name every time you want to send something because then after the send it would break out so you have the option to recieve. However, i was told this is unacceptable. Aside from the 2 way communication a log has to be made of the conversation and emailed to both parties after the conversation is over. And the use of talk is not acceptable either. I know i don't think this is a very thought out program either. Anyone have any ideas?
cwl157 is offline   Reply With Quote