Working example of TNMMSGServ and TNMMsg

Can someone give me a working example of TNMMSGServ and TNMMsg?

Regards,
Morten
LVL 1
mdrastedAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
EpsylonConnect With a Mentor Commented:
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
 
mdrastedAuthor Commented:
Hi,

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

Morten
0
 
EpsylonCommented:
Delphi 5 has a demo in the 'Delphi\Demos\Fastnet\Msg' directory...
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
mdrastedAuthor Commented:
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
 
mdrastedAuthor Commented:
Hi Epsylon,

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

Morten
0
 
EpsylonCommented:
Hi, I uploaded a demo that transfers files:

http://www5.ewebcity.com/epsylon/download.asp?file=FileTransfer.zip
0
 
mdrastedAuthor Commented:
That's great! Thanks a lot!

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

Regards,
Morten
0
 
EpsylonCommented:
*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
 
mdrastedAuthor Commented:
It works just fine :-)
Thanks again!

Regards,
Morten
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.