Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Working example of TNMMSGServ and TNMMsg

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

Regards,
Morten
0
Comment
Question by:mdrasted
  • 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 300 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
Industry Leaders: 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

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!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

963 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