VirtualEye
asked on
Chat Software to be deveoped in VC++ within one week
Hi all,
I know c, c++ and vc++,
Since I just have developed only one standalone project in vc++, so dont have any enterpirse development in VC++. I have been given a task to deveop an example chat software to check my picking abilities. The problem is that I will have to deveop that in 'JUST' one week using sockets and mutithreading. The software will not be very complex
So I want to know the "complete and detailed procedure" to follow for deveoping that in one week at any cost. For instance I want to know , should I create MDI or SDI or dialog based, what , what and what tools and methods will I have to use. I need complete sequence of steps to follow.
Note: I am not asking for code or project to be made by anyone else. I must develop that.
Regards.
I know c, c++ and vc++,
Since I just have developed only one standalone project in vc++, so dont have any enterpirse development in VC++. I have been given a task to deveop an example chat software to check my picking abilities. The problem is that I will have to deveop that in 'JUST' one week using sockets and mutithreading. The software will not be very complex
So I want to know the "complete and detailed procedure" to follow for deveoping that in one week at any cost. For instance I want to know , should I create MDI or SDI or dialog based, what , what and what tools and methods will I have to use. I need complete sequence of steps to follow.
Note: I am not asking for code or project to be made by anyone else. I must develop that.
Regards.
One week is rather short deadline. Do you know a lot about threads and socket programming? You can easily burn up a week just learning the basics of each of these subjects.
Some of the basic things you need:
Some way for each end to know about the existence of the other end, such as ask for the DNS name of the other end.
open a socket to listen for connections.
Open a connection from the other end to that socket.
Sed some sort of introductory handshake, passing info as needed, such as the name of that user,
any validations, etc.
Ask the user to type a line.
Pass back and forth the packets of text.
Display the text in a window.
... Thats basically it.
Some of the basic things you need:
Some way for each end to know about the existence of the other end, such as ask for the DNS name of the other end.
open a socket to listen for connections.
Open a connection from the other end to that socket.
Sed some sort of introductory handshake, passing info as needed, such as the name of that user,
any validations, etc.
Ask the user to type a line.
Pass back and forth the packets of text.
Display the text in a window.
... Thats basically it.
Plz refer to the samples listed at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpwinsock.asp
-Lakshman
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpwinsock.asp
-Lakshman
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanx for Response, I will try check your advices.
Regards.
Regards.
ASKER