Search:
Namespaces
Discussions
.NET v1.1
Feedback
Wokring With System.Net.Sockets
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.languages.vb
.
Post a new message to this list...
Tiraman :-\)
Hi,
I have a client Server Application which was write in vb.net
i m using the
TcpClient
Object And A
StreamWriter
To Send a message to the
client but i would like to
send other objects but for strings like arrays, my own objects and so on.
how can i do that ?
Thanks.
T:-)
Reply to this message...
Jeff Law
You'll need to convert the other objects to strings.
Jeff Law
New Zealand
"Tiraman :-)" <
Click here to reveal e-mail address
> wrote in message
news:%
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Tiraman :-\)
How can i convert my own class to string ?
"Jeff Law" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Tom Shelton
In article <
Click here to reveal e-mail address
>, Tiraman :-) wrote:
[Original message clipped]
Serialization... You can mark your objects as serializable and either
serialize to a byte array (via a memory stream) and send the raw bytes
or you can serialize to an XML string and send that.
--
Tom Shelton [MVP]
Reply to this message...
Tiraman :-\)
Thanks.
Bye
"Tom Shelton" <
Click here to reveal e-mail address
> wrote in message
news:uG%
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
System.IO.StreamWriter
System.Net.Sockets.TcpClient
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com