View Single Post
  #1 (permalink)  
Old August 16th, 2005, 06:37 AM
magsto magsto is offline
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default SmartSocket question: How to parse object to host

Hello!

I try to use the Smart Socket code in the VB.NET 30 Practical Component, Solutions Toolkit.

The code is also available on the Apress web page, chapter 13.

The code works fine, no problem, but I like to transfer the incoming object in the server to a host class, a Windows Form (Form1.vb) and not just put the text message in a MessageBox.

I tried to listen (in my Form1) to the Receive event that exist in the server class but it won't trig on the incoming message...

How could I change the server class or react on the event to be able to receive the incoming object to the "host" class?

Best regards,
Magnus