Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Could be I'm extremely dull, but ho

Status
Not open for further replies.

tjd

IS-IT--Management
Nov 5, 2002
126
GB
Could be I'm extremely dull, but how do I set up an intranet messaging service between machines on a peer to peer XP net, other than using net send, which is kinda clunky? - "Oops! I've joined a club that'll have me as a member?" -
 
Hi,

How long is a piece of string? I assume from the location of this posting you are looking for a solution to an application you intend to write.

With this said you have to take a few things into consideration, like how many clients there would be at maximum. Can these clients talk to any other client? How are the messages to be routed? Can a client send a message to more than one other client? Where do you site the server if you have one, etc.

But in it's simplest terms the answer (for me at least) would be to use Sockets (see MSDN Docs). If the number of clients was unknown I'd create a server that handled all the I/O from the clients, and route messages accordingly.

This would allow you to send messages to Clients that were offline and deliver them when they came online. Implement user authentication, and all manner of other goodies. Granted it may be serious overkill for what you want / need but a fun project all the same. I did mine in C++ and used TripleDES en/decryption for all I/O. I can't give it to since a Client paid for it and it effectivley belongs to them and I don't want to get sued.

You may even want to have a look and see if there's any free/shareware available before you start.

HTH
--
William
Software Engineer
ICQ No. 56047340
 
Tks. That was what I thought... write it myself. Am now scribbling curly braces. seeya. - "Oops! I've joined a club that'll have me as a member?" -
 
Tjd,

If all u need is a simple peer to peer messaging program, use VB and sockets. There is an example in MSDN (i think I used the keywords "Using Sockets" to search) which gives u an instant messenger kind-of look. U can have it up and running in 5 mins flat ;-)

Best of luck In the sweat of thy brow shall you eat your bread.
-Bible

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top