Chat Room Project (IM- E2003) Supervised by : Dan Witzner Hansen Group Member: Xijie Lu Vu Pham To IT University of Copenhagen 23rd Jan.2004.

Slides:



Advertisements
Similar presentations
Multiplexing/Demux. CPSC Transport Layer 3-2 Multiplexing/demultiplexing application transport network link physical P1 application transport network.
Advertisements

Goals Develop a simple text chat protocol which will provide: public messaging, deliver to all on the server; private messaging, deliver to the specified.
1 Object-Oriented Software Development Project Aaron Christopher.
Prepared By: Eng. Ola M. Abd El-Latif May/2010.  In this Lab we will answer the most frequently asked questions about programming sockets in Java. 
Real-Time Authentication Using Digital Signature Schema Marissa Hollingsworth BOISECRYPT ‘09.
CHATROOM PROJECT Supervised by DAN WITZNER HANSEN Group Members ESWAR EMMADI SURESH KUMAR DONTHA.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 17 Introduction to the Application.
CS490T Advanced Tablet Platform Applications Network Programming Evolution.
1 L55 Networking (4). 2 OBJECTIVES In this chapter you will learn:  To understand Java networking with URLs, sockets and datagrams.  To implement Java.
Peer 2 Peer – First Report Submitted by: Arthur Kiyanovsky Elena Zarkhin Ilya Bokshtein
Stromchat Extendable, Modable, Multifunction Peer-to-Peer Chat Server/Client.
A Chat Server DBI – Representation and Management of Data on the Internet.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chris Harrison Stacey Kuznetsov Mariya Lysenkova Jennifer Refat Gabriel Sinkin.
VSP Video Station Protocol Presented by : Mittelman Dana Ben-Hamo Revital Ariel Tal Instructor : Sela Guy Presented by : Mittelman Dana Ben-Hamo Revital.
3D Object Retrieval Client-Server Project
Networks and Client/Server Applications. Basics of Client/Server One host computer can have several servers Several clients can connect to a server Client.
19-Aug-15 About the Chat program. 2 Constraints You can't have two programs (or two copies of the same program) listen to the same port on the same machine.
Product Perspective Intelligent Online Course Portal System is not depending on any other systems.
AJAX Chat Analysis and Design Rui Zhao CS SPG UCCS.
Hands On Networking Socket Programming Ram P Rustagi, ISE Dept Abhishek Gupta, ISE Dept Laxmi Kuber, MCA Dept June 28-30, 2012.
Using SWHS: The AUP [Acceptable Use Policy]
Mark Fontenot CSE Honors Principles of Computer Science I Note Set 11.
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae david streader, VUW Echo Networking COMP
1 Grenoble, May 27 th 2005Lucio Zambon Tango 2 web: a PHP interface to Tango Main topics:  Security  Tango to PHP bridge  GUI  Other developments.
Sockets Sockets A socket is an object that encapsulates a TCP/IP connection There is a socket on both ends of a connection, the client side and the server.
Texas Forty-Two By: Nate Normandin CS 470. What is Texas Forty-Two? A Domino Game A way for people to learn the game A way for people to play others A.
RenderServer/Client Project Dan Priece. A Quick Refresher: VR files (QTVR, TIFF...etc.)‏ Render groups of images into one file based on control points.
Field Trip #25 Creating a Client/Server By Keith Lynn.
Kernel mode linux. Why? ● The pros – There is a C like interface inside the Linux kernel already. – The speed. – The size of AP. ● The cons – Missing.
WEB SERVER Mark Kimmet Shana Blair. The Project Web Server Application  Receives request for web pages or images from a client browser via the internet.
Teleseminar Nice – Mannheim w3auction 1 W3 AUCTION Vanessa BOUCHET, Lars KLOSE, Heiko KOPITZKI, Annabelle LE SONN, Dorothée ROBERT, Gunnar WIEDENFELS.
Proposal of DIS Project Net Meeting System. Project Participants R 高茂原R 高茂原 R 饒訓豪R 饒訓豪 R 李建興R 李建興 R
Scientific Visualization Java3D Object Controlling over PDA- Server Connection Sangyoon Oh
Simple Socket Server m Yumiko Kimezawa September 19, 20121RPS.
Assignment 1 tutorial. Assignment 1 Programming part: – Socket programming: a chat room application – Individual assignment – Deadline 20 th Oct 2015.
TutorIM An IM client designed for one-on-one tutoring Tom Allen CSE 403.
TDMA Emulator - logic The implementation of the logic the emulator mainly based on five classes: Users Connections TDMAEmulator Sniffer/ Sender  Use Jpcap:
Tutorial 2 Introduction to Android App Development Course: Network Protocols (NETW703) Department of Networks Faculty of Information Engineering and Technology.
1 Mainframe Connectivity. 2 Access to ViaSQL Access Server n ViaSQL Direct and ViaSQL Integrator n TCP/IP –easier to set up –less configurable n APPC.
1 By: John Keleher, Cynthia Willi, & Michael Foulke Authenticated File Transfer Application Server.
Java Networking I IS Outline  Quiz #3  Network architecture  Protocols  Sockets  Server Sockets  Multi-threaded Servers.
A Local Area Network Chat Client ITTC LAN CHAT John Vincent Cecogo Jerikho Daguno Ardee Santos Elaine Mendoza Anjomar Pat Del Mindo Philip John Sales Philip.
Server-side http General form of http response/request GET request method POST request method Responses Servlet support.
Li Tak Sing COMPS311F. Case study: a multithreaded chat server The source contains 3 files: ChatServer //the chat server ChatThread //the thread on the.
Final Presentation Smart-Home Smart-Switch using Arduino
The process of establishing a connection between a client and a server is called as Client – Server communication.
Multi player client sever Snake Game Technology : JAVA (swing for user interface and Socket for passing coordinates of snakes, food item and score)
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread.
The Echo Server Problem. Contents  Basic Networking Concepts  The Echo Server Problem.
The Echo Server Problem. Contents  Basic Networking Concepts  The Echo Server Problem.
The Chat Problem.
Echo Networking COMP
Distributed Computing
CSC410: Distributed System
Introduction to Android App Development
Simple Socket Client Project 1.
Socket Programming Cal Poly Pomona Young CS380.
Java Byte IPC: Part 6-Summary
The Transport Layer Socket Programming
Implementation CAN Communication Engine
Networks and Client/Server Applications
The Client Server Model
Starting TCP Connection – A High Level View
Software Engineering for Internet Applications
TA: Donghyun (David) Kim
Khongorzul D Window Programming CBNU,
Thread per client and Java NIO
Presentation transcript:

Chat Room Project (IM- E2003) Supervised by : Dan Witzner Hansen Group Member: Xijie Lu Vu Pham To IT University of Copenhagen 23rd Jan.2004

Server-Client Model Platform: TCP/IP Java Socket Multithread Server Listening & Broadcasting Client

What does Server\Client do Server: listens to client’s connection request. accepts or rejects a connection request accordingly. upgrades all online clients’ UserLists when any client logs out or log on. receives messages from clients and broadcasts them accordingly. Client: requests connection to the known server (server ID and port is known) sends message to server, giving indication whether it is private or public. logs out and notice server. receives message from server and put into public response or private response text area accordingly

Identify Messages private Message (client --> server): #, username, a space, message. (server --> client):, message Userlist Upgrading listing..., userlist,...

Architecture of Server Main components of Server State Message Buffer ThreadedEchoHandler Broadcaster Broad caster Threaded Echo Handler ServerServer

Client Interface Server ID/Name: Username: UserList: Message: Public Response: Private Response: