Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi folks,

I'm currently programming an exception handler where the user can send the exception including an user defined message. (just like Mozilla Crash Reporter does)

Currently i am connecting to web.de a free E-Mail provider and sending myself a Mail.

This works quite good but i think that it's compared to other techniques really horrible.

I'm currently messing arount with TCP/IP, but this requires a server that's online.

So my Main Question is: What do you think is the best way of transmitting Data?

Thanks for all your help guys

Sincerely:
Jonas
Posted
Updated 21-Jan-15 6:30am
v3
Comments
CHill60 21-Jan-15 12:28pm    
What is your actual question?
[no name] 21-Jan-15 12:30pm    
k, i edited it

The best way? It largely depends on the source and destination. TCP/IP is fine but you need an active connection, or a client that is always listening for messages. HTML is fine but the same issue exists, the client needs to be listening for messages. For unsolicited messages email is the obvious choice.
 
Share this answer
 
If you base your communications on TCP/IP (which is a right idea, everything else would hardly be reliable enough), everything requires "a server which is online". There is no such thing as miracle. You may ask "but how about P2P?". Paradoxically, same thing. Peer-top-peer applications simply all play the role of server part (listen to connections) and the client (try to connect to other applications) at the same time.

The following activity depends on what you want to achieve, exactly. It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900