Net Send

Posted on 2005-02-24
Medium Priority
Last Modified: 2010-04-17
Hi guys!

Im just getting into the programming, so i wanted to start out making a net send  program of my own, but i soon realized that wasnt going to happen with out help!

I dont have a clue how to do it! I want it too have a quit and send botten and as you ofcourse can gess a message box and a "reciver" field! Im using Delphi 2005 so if you could guide me too making one in that it would just be great!

Help me pleaz!

Question by:laegsgaard
LVL 25

Accepted Solution

InteractiveMind earned 200 total points
ID: 13395286

So, you want to basically develop an IM (Instant Messenger) type application? If so, then I'm going to quickly discuss a two-way IM (unlike Net Send).

I'm afraid that I don't do Delphi - and I personally don't ever intend to. But I can give you tips on the methodology used by many IM apps:

You firstly need to create a protocol. The may consist of just openning Notepad, then typing an example of the Protocol at work. For example:

S = Server
C = Client

S = authenticate
C = username:password
S = granted
C = message:Hello Bob!
[S outputs message]
S = message:Hey Jim  :-)
[C outputs message]
C = message:Sorry, I have to go now!
[S outputs message]
S = message:Cya mate!
[C outputs message]
C = bye

You then need to learn how to create "Socket" connections. Which are basically the connections between two machines, that you can write data to, and read data from.

I suggest that you learn Delphi network programming.

I personally would use something like Java for this. As it's secure, and extremely easy to use for network programming. And an overral, easy language, once you've mastered the basics. :-)

But, I really don't think that you should start off with an IM.. You will need to handle databasing, protocol design, etc.. A first project, would be learning to create a connection to another machine (Server and Client programming) - and then learn to write data to it, and read data from it.. Then it's simply a case of implementing a protocol and GUI into it.  ^_^

Good luck with it,
>> IM

Expert Comment

ID: 13402338
Do you have to use Delphi? I can give you the process (it's dirt easy) in C++ but I am clueless in Delphi.

Author Comment

ID: 13760416
I figuered it out myself..

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question