![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Professional Programmer
|
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:
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! ▄▄▄▄ |
|
|
|
|
|
|
#2 | |
|
Professional Programmer
|
edit time's up for first post, new link though. There's a few changes.
http://www.megaupload.com/?d=QD95IECH
__________________
▄▄▄▄ Quote:
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! ▄▄▄▄ |
|
|
|
|
|
|
#3 | |
|
Professional Programmer
|
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:
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! ▄▄▄▄ |
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#5 | |
|
Professional Programmer
|
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.
__________________
▄▄▄▄ Quote:
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! ▄▄▄▄ |
|
|
|
|
|
|
#6 | |
|
Professional Programmer
|
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:
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! ▄▄▄▄ |
|
|
|
|
|
|
#7 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
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.
|
|
|
|
|
|
#8 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#9 |
|
Newbie
|
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.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|