Solved

Working example of TNMMSGServ and TNMMsg

Posted on 2000-03-21
9
484 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 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
 
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now