Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 9th, 2006, 1:17 PM   #1
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
C++ Chat server/client

I've been working on a little chat client and server for the past few days and it's sprouted quite well since then. I'm just offering to anybody else who would like to go more indepth into the winsock network programming scene.

This is a voluntary project that I've just been working on, nothing major and money is out of the picture, it's all for the love of programming.

The project isn't going to try to compete with element or msn or anything else out there, but I do want to try to add a wide variety of functions like file sending, whispering, user verification, and a a few other commands.

If you are interested in helping out, pm me or just post with either msn or aim contact info.

By the way, the client and server are working and messages are sending and receiving fine on both ends.

EDIT: Here's what's done so far

LINK

I've just been working on jazzing up the clients text so it has a nice little look. The server is really ugly and plain still but that will change in the near future. The client connects, doesn't ask for input, but you are supposed to type something, just because I was testing the sending. The test string at teh beginning is just a test of how I plan on making the text appear on the screen, I like that style so I will probably go with it.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Apr 9th, 2006, 2:20 PM   #2
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
edit time's up for first post, new link though. There's a few changes.

http://www.megaupload.com/?d=QD95IECH
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Apr 9th, 2006, 3:52 PM   #3
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Newer version - The client has a few tweaks to it like it asks for username and a few output format fixes.
The server has a better connecting and disconnecting method and I've just added the base username system into the server using vectors. The user who connected has their username displayed on the server once they join and once they leave. So far there's no problems besides the "if one user sends 2 messages before the other user sends a message" problem, but that's not really a problem, because I just haven't gotten to it yet. If I'm posting this too much just let me know any I'll stop, I'm just excited

Download

PS> If anyone has any feedback by any chance, please let me know what you think about it so far.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Apr 9th, 2006, 4:14 PM   #4
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
I wanted to do something with network programming also, but just haven't got to it yet. I'd like to help but I'm not executing anything just yet.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Apr 9th, 2006, 4:25 PM   #5
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Here's the code if you want to compile it yourself or just look at it. The code is pretty messy as is, but I plan on cleaning it up if anybody actually decides to hop on board.
Attached Files
File Type: zip chat.zip (24.1 KB, 28 views)
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Apr 9th, 2006, 9:48 PM   #6
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Newest version:

-Displays username of the source of the message
-Output printing complete
-Text colors complete
-Sending, receiving, connecting, leaving functions more concrete than before

Any feedback would be appreciated, as usual.
Download
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Apr 18th, 2006, 9:18 PM   #7
nindoja
Programmer
 
Join Date: Jun 2005
Posts: 92
Rep Power: 4 nindoja is on a distinguished road
I may be interested. I worked on an IM program for a competition in the area. It sounds like our projects are equally far along in terms of features, except I have some encrpytion of messages built in. PM me and let me know what features you are planning on adding, and what your contact info is. I may be willing to work on it.
nindoja is offline   Reply With Quote
Old Apr 19th, 2006, 3:26 AM   #8
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
I will try working on it this weekend a bunch Jay. I've gone to Germany this last weekend, so had no time to be working on it. Sorry.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old May 7th, 2006, 10:28 PM   #9
gumbyman31
Newbie
 
Join Date: May 2006
Location: Inside
Posts: 14
Rep Power: 0 gumbyman31 is on a distinguished road
Send a message via AIM to gumbyman31
Although I am not a very advanced programmer, I noticed that this is being written for a Windows. I'd be interested in porting it for Mac, and am eager to learn how. Let me know what I can do.
gumbyman31 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:58 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC