LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2007, 06:16 AM   #1
ayusman
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
Chat server source code in C


Hi Guys,
I am trying to implement a chat server application in C language,which needs to store all the messages using shared memory. Is there any such application available or can I get some source code for this . Guys please help me out ASAP.
 
Old 08-31-2007, 06:51 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
This sounds like a homework problem. We're not here to do your homework for you.

Yes, there are many "chat servers" out there. For example many IRC server daemons are open source. But they're terribly complicated, and may not even be what you want.
 
Old 08-31-2007, 08:10 AM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
There is a lot of good information on how to use shared memory. I doubt you will find code to do what you want, but it is not that complicated, so you should be able to learn it with a few hours of work.

For an example of shared memory: http://mia.ece.uic.edu/~papers/WWW/m...s/shared-mem.c

Google is your best friend for this type of information...

Last edited by chadl; 08-31-2007 at 08:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code for a simple ftp server and client koodoo Programming 17 07-05-2013 11:48 AM
LXer: 2x Opens Source Code to its NX Based Terminal Server for Linux LXer Syndicated Linux News 0 08-31-2006 12:54 PM
Open Source Chat server kartheekpn Linux - Software 1 10-27-2005 03:41 AM
source code for a php3 server mrobertson Programming 1 06-24-2005 09:49 AM
Apache source code hack - Server response headers 2.0.49 fireman949 Linux - Software 2 05-24-2004 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration