CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
Phone Cards
Condos For Sale
Online Education
GPS
Calling Cards
Prepaid Phone Card
Dental Insurance
Career Education
Televisions
Memory Upgrades
Promote Your Website
Web Design
Web Hosting Directory
Promotional Pens


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> Internet & Networking >> Network Protocols >> Messaging

Project Management Guide: Developing a Web Site. Best Practices, Tips and Strategies. Download Exclusive eBook Now.

Peer to Peer Network Messenger
Rating:

Matthew Millman (view profile)
June 19, 2002


(continued)




  
Click here for larger image

Environment: VC6 Only (No platform SDK required) Only tested in WinXP, WinNT, and Win2k.

This program was inspired from some other code I found on this site which makes a little popup window from the system tray (I just had to make something from it!)

This program is a peer to peer messenger program which functions (and looks) like MSN messenger. since this program is peer to peer there is no hidden server code, it's all here!

This is only intended for use on LAN's or any other network which uses static IP addresses, since the IP address is the primary contact identifier unlike MSN messenger which uses email addresses. It works by making socks connections to all other users on the contact list. there are some problems with this: i.e. when you have a large list of users it can take a very long time to attempt to connect to all contacts.

Here are some of the features:

  • File transfer
  • Task bar popup window (code used from another codeguru user)
  • Blocking of contacts
  • 'Away' and 'Appear offline' status
  • Drag and drop of files onto nicknames onto contact list to start file transfer
  • Program minimises into the system tray when closed, can also be set to minimise on startup (use /M switch when starting)

If you don't like the fact that it's a total ripoff of MSN messenger, Change it! I'm just not very good at making things look good.

Update (3/23/2002)

Fixes / New features

  • Emoticons support
  • Changable user fonts
  • Changable dialog colors
  • Re-sizable send message section in conversation window
  • Other small bits and pieces

NT4 Users

From my NT4 machines this program seems to work pretty well.

You may get an error saying 'Ordinal xxxx could not be located in mfc42.dll', just grab an mfc42.dll off your nearest 2000/XP machine and put it in the Netmsg directory.

Some users have reported the program crashing instantly. This occurs when the program tries to create its threads, It seems to be more common on lower service packs. I have no idea what causes this nor can I be bothered trying to solve it since it is so rare.

95/98/ME Users

I don't have any of these operating systems installed on my PCs. I do not have the time or resources to test this program in these operating systems.

Some users have reported that the program works fine in these operating systems. I hope so!

Bugs

If you find even the slightest thing wrong with this program could you please either email me, or add me to your list on MSN Messenger and explain them to me

My MSN Contact is: mjmillman@bit.net.au
Note: this is not my email address

Downloads

Download source - 403 Kb
Download compiled version (Includes Windows XP Visual Styles) - 220 Kb

Tools:
Add www.codeguru.com to your favorites
Add www.codeguru.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

Work With InterSystems. Not Separate Systems. Rapidly develop and deploy connectable applications.
Best Practices for Developing a Web Site. Checklists, Tips & Strategies. Download Exclusive eBook Now.
Learn about expanding business opportunities for the reseller channel. Visit IT Channel Planet.
Whitepaper: Enterprise Information Integration--Deployment Best Practices for Low-Cost Implementation
Developing Intelligent Communications? Visit the Avaya DevConnect Center on DevX.


RATE THIS ARTICLE:   Excellent  Very Good  Average  Below Average  Poor  

(You must be signed in to rank an article. Not a member? Click here to register)

Latest Comments:
messenger at school - mad__dog369 (03/30/2007)
why delete CConversation after created - daly88 (11/19/2006)
Chat Logs on server - ibrar79 (06/12/2005)
seeking guidance. - shrirangps (02/10/2005)
How to use Smileys? - ansy2ksuper (11/01/2004)

View All Comments
Add a Comment:
Title:
Comment:
Pre-Formatted: Check this if you want the text to display with the formatting as typed (good for source code)



(You must be signed in to comment on an article. Not a member? Click here to register)


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES