TCPClient And TCPServer

Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Aug 2008
Posts: 10
Reputation: nlblnx is an unknown quantity at this point 
Solved Threads: 0
nlblnx nlblnx is offline Offline
Newbie Poster

TCPClient And TCPServer

 
0
  #1
Nov 18th, 2008
Hi all,

Could anyone help me out here.... I'm trying to work out how to write a very simple server and client that I can first send a string through and then send a file to. For example, I'd send the file name and then the actual file.

Also, does anyone know how to encrypt this as well as just sending it over a plain connection?


Any help would be great.

Thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,847
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 267
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: TCPClient And TCPServer

 
0
  #2
Nov 18th, 2008
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 10
Reputation: nlblnx is an unknown quantity at this point 
Solved Threads: 0
nlblnx nlblnx is offline Offline
Newbie Poster

Re: TCPClient And TCPServer

 
0
  #3
Nov 18th, 2008
Originally Posted by ddanbe View Post
Check out this site:
http://www.dreamincode.net/forums/showtopic33396.htm
Thanks, I didn't see any TCPServer in use in that code sample, though it is quite helpful.

Do you have any samples lying around that would illustrate the following:

Sending a string from a TCPClient to a TCPServer
Sending a file from a TCPClient to a TCPServer

It's been a while since I touched anything like this you see and the last time I did anything like this was in Delphi, which was stupidly easy.


Thanks again.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,847
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 267
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: TCPClient And TCPServer

 
0
  #4
Nov 18th, 2008
I have not something ready on my shelf.
But from the same site I have : http://www.dreamincode.net/forums/showtopic56828.htm
Last edited by ddanbe; Nov 18th, 2008 at 3:04 pm.
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC