video chat on lan by payal ashokkumar dalwadi 10/29/2010 advisor: dr. chung-e wang department of...
TRANSCRIPT
Video Chat on LAN
ByPayal Ashokkumar Dalwadi
10/29/2010
Advisor: Dr. Chung-E WangDepartment of Computer ScienceCalifornia State University, Sacramento
Motivation
A social networking site that allows you to video chat online is the primary inspiration for my project.
I am highly interested in the development of Network Application.
I have interest in Socket programming . This application covers my all area of interest.
Overview of chat application
There are so many chat application exists, but most of them are server/client based application. User have to make profile to user those application
To use Video On LAN Application user do not have to make profile page. Just need to add IP address.
To initiate chat with user it requires users acceptance. IP addresses are saved in contact log file to next time
you start the chat you do not have to add IP address.
Technology
Used VC++.NET MFC Library
Microsoft Foundation Class Library (MFC) is a library that wraps portion of the windows API in C++ classes. Also includes functionality that enables MFC to use a default allocation framework.
Project Implementation
Map all buttons and menu items corresponding to the function. Add contact and Delete contact. Connecting to a Remote System. Sending text data. Start Host CAM. Stop Host CAM. Invite to view My CAM. Request to view Guest CAM. Stop viewing Guest CAM. Disconnecting from Remote System. Exit the Application.
User 1192.168.1.11
User 2192.168.1.12
OnAddContact()
CAsyscSocket::SendTo()
Add IP in contact log GetAddress()
Accept connection request
StartTextChat()
WebCAM Started
CONTROLMESG_VIEWCAMREQ
CONTROLMESG_ACCEPTCAMREQ
Check SocketType = TYPE_TEXTDATA/TYPE_VIDEODATA/TYPE_CONTROLMSGSCheck textData[0] = different CONTROLMESGS
Application layout
Future Work
Add IP discovery module so user can know IP address of related hostname.
Add audio, share files and folders feature.
Make TCP connection instead of UDP connections.