Sponsored Content
Homework and Emergencies Homework & Coursework Questions Help with server client chat system Post 302393235 by demonmind on Monday 8th of February 2010 07:54:27 AM
Old 02-08-2010
Help with server client chat system

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 thinking of 1 list but i dont know well.i dont know a lot of C.i programm in java.







i already wrote code for server and client and everything works but i don't know how to create a chat room.can i use pipes or smth else'



4. Sapienza universita di roma,rome, italy course of operative system,socket programming
 

7 More Discussions You Might Find Interesting

1. Programming

multiuser chat server closes when one client closes. code included

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

Chat client-server program

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. Solaris

Secure FTP Problem using Sun SSH on Client system F-Secure on Server system

I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details: FTP Client has Sun SSH. FTP Server has F-Secure. I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies

4. UNIX for Dummies Questions & Answers

Server/client chat

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?

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

Server-client chat with a bit more

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. Programming

logic understanding for inter client chat server

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
MUSEEKCONTROL(1)						Museek Daemon Plus						  MUSEEKCONTROL(1)

NAME
MuseekControl - Command-Line control Python Script for Museekd DESCRIPTION
MuseekControl is command-line Python script that connects to museekd(1) and initiates many different commands. Chat Room watching, one-time chat messages, browsing shares, searching, viewing User info and setting tickers are just some of the many commands available. Only one museek option will work at a time. If two are set, the last one will be used. Setting the interface and password on the command-line is a security risk. Since interface and password settings are saved to the config file when set, you should set them, exit museekcontrol, and rerun museekcontrol without the password options on the commandline..LP Before running, you will need a working museekd(1) and need to know your museekd interface and interface password. Configure those with musetup(1). SYNOPSIS
museekcontrol [-c |--config <config-filename>] [--gs | --gsearch <query>] [--rs | --rsearch <query>] [--bs | --bsearch <query>] [-r | --rooms] [--roomlist] [--joined] [--roominfo <room>] [--roomsinfo] [--sroom <room>] [--srooms] [--sprivate <user>] [--sprivates] [--tickers <room>] [--alltickers] [-j | --join <room>] [-l | --leave <room>] [-m | --message <message>] [--chat <room>] [--pm | --private <user>] [--setticker <room>] [--settempticker <room>] [--setdefaultticker] [--buddy | --unbuddy <user>] [--ignore | --unignore <user>] [--ban | --unban <user>] [--trust | --distrust <user>] [--comment <string>] [--info <user>] [--minfo] [--ip <user>] [-b | --browse <user>] [--mb | --mbrowse] [-t | --transfers] [--mt | --mtransfers] [--download slsk://user/path] [--upload slsk://user/path] [--abortup slsk://user/path] [--abortdown slsk://user/path] [--removeup slsk://user/path] [--removedown slsk://user/path] [--retryup slsk://user/path] [--retrydown slsk://user/path] [-i | --interface <host:port | /socket.path> [-p | --password <inteface-password>] [-v | --version] [-h | --help] OPTIONS
Museekcontrol accepts the following options: -c <filename>, --config <filename> Use a different config file. v SEARCHING: --gs, --gsearch <query> Globally search for query & show results --rs, --rsearch <query> Room search for query & show results --bs, --bsearch <query> Buddy search for query & show results CHAT ROOMS: -r, --rooms Show list of rooms --roomlist Refresh list of rooms --joined Show list of Joined rooms --roominfo <room> Show users in a Joined room --roomsinfo Show users for all Joined rooms --sroom <room> Show chat log for room --srooms Show chat log for all rooms -j, --join <room> Join a room -l, --leave <room> Leave a room --chat <room> Use with --message -m, --message <message> Say message in room (Use with --chat) TICKERS: --tickers <room> Show tickers in room --alltickers Show tickers in all rooms --setticker <room> Pick a room to set the ticker in. (Use with --message) --settempticker <room> Pick a room for a temporary ticker (Use with --message) --setdefaultticker Set the default ticker for all room (Use with --message) -m, --message <message> Set the ticker to this. PRIVATE CHAT: --sprivate <user> Show Private Chat log for a user --sprivates Show Private Chat logs for all users --pm, --private <user> Say message in PM (Use with --message) -m, --message <message> Say message in PM (Use with --pm) USERS: --buddy --unbuddy <user> Add/Remove user from Buddies list --ignore --unignore <user> Add/Remove user from Ignore list --ban --unban <user> Add/Remove user from Banned list --trust --distrust <user> Add/Remove user from Trusted list --comment <string> Comment for the user in list USERINFO: --info <user> Show a user's info (Saves image to <user>.img if available) --minfo Monitor all User Info --ip <user> Get a user's IP and Port BROWSING: -b. --browse <user> Get a user's shares and show them --mb, --mbrowse Monitor browsing TRANSFERS: -t, --transfers Display all current uploads and downloads and exit. --mt, --mtransfers Monitor transfers --download slsk://user/path Add file or dir to the download queue --upload slsk://user/path Attempt to upload file to user --abortup slsk://user/path Abort Upload --abortdown slsk://user/path Abort Download --removeup slsk://user/path Remove Upload from queue --removedown slsk://user/path Remove Download from queue --retryup slsk://user/path Retry Upload (for remote uploads) --retrydown slsk://user/path Retry Download -i, --interface <host:port | /socket.path> Choose a different interface (saved to config file) -p, --password <interface-password> Choose a different password (saved to config file) -v, --version Display Version and exit. -h, --help Display Help and exit. EXAMPLE
To run this program the standard way type: museekcontrol Alternativly you use a different config file with: museekcontrol --config museekcontrol.config To set the interface password: museekcontrol --password 1234567890 To listen to all joined Chat Rooms: museekcontrol --srooms To Search Globally for "crazy pumpkin rabbits": museekcontrol --gsearch "crazy pumpkin rabbits" FILES
~/.museekd/museekcontrol.config The default location for the museekcontrol config file. AUTHORS
daelstorm <daelstorm@gmail.com> Hyriand <hyriand@thegraveyard.org> SEE ALSO
mucous(1) mulog(1) murmur(1) muscan(1) muscand(1) museekd(1) museeq(1) musetup(1) musetup-gtk(1) daelstorm Release 0.2.0 MUSEEKCONTROL(1)
All times are GMT -4. The time now is 06:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy