Solved

Working example of TNMMSGServ and TNMMsg

Posted on 2000-03-21
9
505 Views
Last Modified: 2008-03-06
Can someone give me a working example of TNMMSGServ and TNMMsg?

Regards,
Morten
0
Comment
Question by:mdrasted
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 1

Author Comment

by:mdrasted
ID: 2639284
Hi,

I forgot to say that I want to send a file from one computer to another.

Morten
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2639330
Delphi 5 has a demo in the 'Delphi\Demos\Fastnet\Msg' directory...
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 100 total points
ID: 2639653
I see in one of your other questions that you use Delphi 5 Enterprise so I'll answer this question.

Look for the demo in the 'Program Files\Borland\Delphi5\Demos\Fastnet\Msg' directory. This demo shows how to send messages between 2 apps on different computers. It should be clear enough by itself but if you have additional questions, please ask them.

If you are interested, also take a look at this demo. It's something similar except is uses a server that enables more that 2 clients to connect and talk to each other (like IRC).

http://www5.ewebcity.com/epsylon/download.asp?file=RelayChat.zip
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:mdrasted
ID: 2639693
What I'm looking for is an example of how to use SendFile and CaptureFile. I need to send a text file across the network.

Morten
0
 
LVL 1

Author Comment

by:mdrasted
ID: 2639837
Hi Epsylon,

Thanks for your help. You didn't exactly answer my question, but I can use it anyway.

Morten
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2640689
Hi, I uploaded a demo that transfers files:

http://www5.ewebcity.com/epsylon/download.asp?file=FileTransfer.zip
0
 
LVL 1

Author Comment

by:mdrasted
ID: 2640748
That's great! Thanks a lot!

I'll pay you a 100 credits for that answer.

Regards,
Morten
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2640873
*Little* warning: this is complicated stuff. I started this demo a while ago but never finished it. It did not transfer the filename. I added that feature today but have not fully tested it.
However the server is able to handle multiple simultanious uploads using threads. I tried it with 2 clients and it passed the test.
0
 
LVL 1

Author Comment

by:mdrasted
ID: 2643526
It works just fine :-)
Thanks again!

Regards,
Morten
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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