RE: Sockets / Remoting / Web Service ?
From: Tian Min Huang (timhuang_at_online.microsoft.com)
Date: 05/07/04
- Next message: Har*** Mehta: "Use MDB file on machine where MS Office is not installed"
- Previous message: XingZheng: "How to detect filename is invalid."
- In reply to: Lucas Ponzo: "RE: Sockets / Remoting / Web Service ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 07 May 2004 08:33:37 GMT
Hello Lucas,
Thanks for your post. There is no need to write a temp file in order to
transfer it via socket. To transfer a file, you still need to read it to
memory and then send it via socket. So, I suggest you to send a serialized
object directly.
I recommend you the following MSDN documentations on TCP and related
classes:
Using TCP Services
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconusingtcpservices.asp
TcpClient Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemNetSocketsTcpClientClassTopic.asp
TcpListener Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemNetSocketsTcpListenerClassTopic.asp
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
- Next message: Har*** Mehta: "Use MDB file on machine where MS Office is not installed"
- Previous message: XingZheng: "How to detect filename is invalid."
- In reply to: Lucas Ponzo: "RE: Sockets / Remoting / Web Service ?"
- Messages sorted by: [ date ] [ thread ]