Peer to Peer Network Messenger


  
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


Comments

  • messenger at school

    Posted by mad__dog369 on 03/30/2007 03:04am

    hey i love this program. but when at school i change between computers every lesson and all the ip's are different is there anyway to make the program change the ip while the program is running or it sends out it's own ip to connect to each client. thanks for reading!

    Reply
  • why delete CConversation after created

    Posted by daly88 on 11/19/2006 10:28am

    BOOL CConversationThread::InitInstance() { Conv = new CConversation(NULL, pWith, pszDefaultMsg); m_pMainWnd = Conv; Conv->DoModal(); delete Conv; ::SendMessage(GetApp()->View->GetSafeHwnd(), WM_DESTROYME, 0, (LPARAM) this); return TRUE; } why delete Conv after created????

    Reply
  • Chat Logs on server

    Posted by ibrar79 on 06/12/2005 06:38am

    Required Chat Logs in Server from all client stations and time stamp in the conversation window that at what time last message recieved....
    waiting for improvement

    Reply
  • seeking guidance.

    Posted by shrirangps on 02/10/2005 06:17am

    i want to access the instant messanger over intranet. i wish to check the online status of any given user through programme. how can i do it? can i do it in Visual Basic and how?

    Reply
  • Send messege to all

    Posted by Legacy on 02/06/2004 12:00am

    Originally posted by: Avinash

    hi buddies,

    I want to send messege to all online peoples.. please suggest me the way to do that..

    cheers

    avinash

    Reply
  • NetMsg to other OS

    Posted by Legacy on 01/27/2004 12:00am

    Originally posted by: Rajiv Jain

    Did any body has tried porting the NetMsg to other communicate with other OS like Linux, or u r waiting me to start ?
    
    

    regards
    rajiv

    Reply
  • Sort Contacts

    Posted by Legacy on 01/14/2004 12:00am

    Originally posted by: Mullan

    Hi

    Well 1st off I would like to thank you for creating susch a brilliant app, very nice indeed.Secondly can u maybe release a version that has the date and time feature when sending a msg, also sort the contact list alphabetically.
    I apologize for not doing this myself but have not been able to get my hands on a copy of Visual C++
    Thanks

    Reply
  • Condition of use?

    Posted by Legacy on 12/16/2003 12:00am

    Originally posted by: Pham

    Hi Matthew,

    I like your program and plan to use our code in my new freeware. I will put your name and name of this program as acknowledgement in the About dialog.

    Could you tell me your condition of use of your code?

    Many thanks and keep up your excellent work.
    Pham

    Reply
  • Anyone find the mem leaks?

    Posted by Legacy on 12/05/2003 12:00am

    Originally posted by: Dave Signam

    This is such a cool application.

    It appears to leak memory, though. I was just wondering is anyone has found and fixed the memory leak bugs?

    Could you post them here?

    Thanks!
    Dave

    Reply
  • How Can we add many user for synchronizing chat

    Posted by Legacy on 07/06/2003 12:00am

    Originally posted by: KwangWu, Chon

    Hi..Math

    I feel much thanks for your kind source code..
    While I'm studying your code very hard, I became have some doubt
    "how can i add many user for synchonizing chat using your
    CNetSocket and CListenSocket..."

    Could you provide some guideline hints..?
    Your Kind and Prompt Reply will be much appreciated..

    Thanks..

    from S.Korea..

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date