Sponsored Content
Full Discussion: message queue
Top Forums Programming message queue Post 302143590 by etenv on Friday 2nd of November 2007 04:23:53 AM
Old 11-02-2007
message queue

Hello,

i need to write a message queue "chat server", that should work only localy.
Can anyone please help me with some ideas and peshaps code. I'm studying the UNIX IPC mechanisms right now. So far, i understand how it works but i still cannot get an idea how to write a chat programm...

Please on some help for those issues.

PS: i'm using Linux 2.6.18

Regards
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix message Queue

Hi, I am working closly with unix message queues i have encountered the following - after creating the Q and start working with it (pushing & pulling) i receive the following stange parameters on the q's - STIME=no_entry Qnum=0 CBYTES=4140 when this happens, the Q is disabled (meaning i... (3 Replies)
Discussion started by: kel
3 Replies

2. Programming

a message queue question..

Hi there: Thanks first. When I use a message queue amony severl processes, will I have to synchronize the queue? I don't think I would have to because a message queue is implemented in a link listed. Correct me If I am wrong... (0 Replies)
Discussion started by: yanhu
0 Replies

3. Programming

Deleting ALL message queue

hi all, I'm working on this problem for 2 days. Can somebody tell me that how to delete all message queues from the system ? Since "ipcs -q" gives the list of all existing message queue, then there must be a system call and data stucture where from I can fetch the data about all existing... (2 Replies)
Discussion started by: v_rathor
2 Replies

4. Programming

Message Queue Problem Again..

Is there any way one can delete , say , a particular message from a message queue on system V? (2 Replies)
Discussion started by: satansfury
2 Replies

5. IP Networking

message queue problem

I am sending and retriving the message to the queue the problem is after retrieving the message can i see what is there in my message queue. (actually in my application i am encountring some garbage value) so i want to retieve this garbage value and also want to know its size how... (0 Replies)
Discussion started by: ramneek
0 Replies

6. Programming

Message Queue with fork() help

hi all... ive been trying this program where i spawn 4 threads... and i am trying to use message queue to send msgs from 3 of the threads to the parent thread... but it doent seem to be working... ive almost pulled out my hair tryin to fix the prob :confused: another wierd thing... (1 Reply)
Discussion started by: strider
1 Replies

7. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

8. Programming

Message Queue Problem

Hi all, I need help about message queues, i have a server-client program that communicates each other via msg queue, firstly server opens its msg queue and waits for msg then client opens server msg queue and its own msg queue(for receiving msg from server,clients sends msg to server msg... (7 Replies)
Discussion started by: SaTYR
7 Replies

9. Programming

UNIX Message Queue

Hello !!!!! I have a simple question but i can't find the answer anywhere hope to meet it here. Why it is a bad idea to pass pointers through message queues ? Most structs i see all of their char types are arrays... Is it becase having pointers means we could possibily send wrong bytes ? For... (2 Replies)
Discussion started by: qlyine
2 Replies

10. Ubuntu

Message Queue in Linux

Hello How can I see the created message queues in the system? (4 Replies)
Discussion started by: xyzt
4 Replies
eiskaltdcpp-qt(1)					      General Commands Manual						 eiskaltdcpp-qt(1)

NAME
EiskaltDC++_Qt - GUI based on Qt SYNOPSIS
eiskaltdcpp-qt <magnet link> <dchub://link> <adc(s)://link> eiskaltdcpp-qt <Key> DESCRIPTION
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. COMMAND LINE OPTIONS
A summary of options is included below. -h, --help display help and exit -V, --version output version information and exit KEYBOARD SHORTCUTS
These are default keyboard shortcuts. You can change them in Preferences dialog (Shorcuts tab). Ctrl+O Open options window Ctrl+L Open own filelist Ctrl+E Refresh share Ctrl+R Reconnect to hub Ctrl+N Quick connect Ctrl+H Favourite hubs Ctrl+P Public hubs Ctrl+U Favourite users Ctrl+T Show/hide transfers widget Ctrl+D Show/hide downloads queue widget Ctrl+S Open search widget Ctrl+F Show/hide find or filter frame Ctrl+A Select all Ctrl+W Close current widget Ctrl+M Show/hide main menu Ctrl+PageUp Switch to the previous widget. Available only if widget panel is used, not working in mode of sidebar. Ctrl+PageDown Switch to the next widget. Available only if widget panel is used, not working in mode of sidebar. Ctrl+Up Switch to the previous string from history of sent messages in chat for current session. Available only when input frame is focused on. Ctrl+Down Switch to the next string from history of sent messages in chat for current session. Available only when input frame is focused on. Ctrl++ Zoom in text in the chat Ctrl+- Zoom out text in the chat Ctrl+Mousewheel Change font size in the chat Alt+<0-9> Go to one of the first ten widgets. Available only if widget panel is used, not working in mode of sidebar. Esc Hide find or filter frame. Also it close dialog window. Otherwise hide main window in tray (if tray icon is enabled) Del Delete selected items. Now available in Download Queue widget. CHAT COMMANDS
/aspell on/off - enable/disable spell checking (only if program was build with aspell support) /alias <ALIAS_NAME>::<COMMAND> - make alias /ALIAS_NAME to /COMMAND For example, command /alias amarok::/sh /usr/share/eiskaltdcpp/examples/amr.en_US.sh will create alias /amarok /alias purge <ALIAS_NAME> - remove alias /alias list - list all aliases /away <message> - set away-mode on/off /back - set away-mode off /browse <nick> - browse user files /clear - clear chat window /kword add <keyword> - add user-defined keyword which will be highlighted in the chat /kword purge <keyword> - remove user-defined keyword /kword list - full list of keywords which will be highlighted in the chat /magnet - default action with magnet (0-ask, 1-search, 2-download) /close - close this hub /fav - add this hub to favorites /grant <nick> - grant extra slot to user /help, /?, /h - show help /info <nick> - show info about user /ratio [show] - show ratio [send in chat] /me - say a third person /pm <nick> - begin private chat with user /sh <command> - start command and redirect output to the chat /luafile <file> - load Lua file /lua <chunk> - execute Lua Chunk /ws <option> [value] - edit config (~/.config/eiskaltdc++/EiskaltDC++_Qt.conf), also you can edit it manually For example: /ws chat-dbl-click-action <0-2> (double click) /ws chat-mdl-click-action <0-2> (middle click) (0 - insert nick into input widget, 1 - get file list, 2 - private message) /ws app-unit-base <1024 or 1000> (show kibibyte (KiB) or kilobyte (KB), etc.) /ws chat-timestamp <hh:mm:ss, hh:mm, hh and etc.> (set chat timestamp) /ws hubframe/chat-background-color <color> (set background color in the chat, where <color> is in HTML format) /ws hubframe/unreaden-draw-line <0-1> (0 - switch off, 1 - switch on) /ws hubframe/redirect-pm-to-main-chat <0-1> (see above) FILES
/usr/share/eiskaltdcpp/qt Directory with some resource files ~/.config/eiskaltdc++/ or $XDG_CONFIG_HOME/eiskaltdc++/ Directory with configuration files /usr/share/eiskaltdcpp/examples Directory with examples of custom scripts (see /sh chat command) AUTHOR
This program was written by Andrey Karlov <dein.negativ@gmail.com> and others (see file AUTHORS). EiskaltDC++ homepage: http://code.google.com/p/eiskaltdc/ BUG REPORTS
If you find a bug in EiskaltDC++ please report it here: http://code.google.com/p/eiskaltdc/issues/list This manual page was written by Boris Pek <tehnick-8@mail.ru> for the Debian project (and may be used by others). 19 Feb 2012 eiskaltdcpp-qt(1)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy