Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2005, 06:42 AM
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Send an object from a server-socket to the host?

 Hello!

I use a code, Smart Socket in the VB.NET 30 Practical Component, Solutions Toolkit found e on the Apress web page, chapter 13.

The code allows you to create a bi-directional socket connection and send a serializable object back and forth.

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...

I imagine that I do something wrong or maybe I could use a pattern like Subsriber or Singelton or something that works like the MessageBox but instead of showing a dialog box it should trig an event in a host class... But I don't know how to perform that...

Any ideas, tips of other sources or solutions a welcomed!

Best regards,
Magnus





Similar Threads
Thread Thread Starter Forum Replies Last Post
Access sql server from on different host sdagger SQL Server ASP 1 October 29th, 2008 06:14 PM
send iso8583 message with socket octoni Pro VB.NET 2002/2003 1 November 1st, 2007 03:10 AM
SmartSocket question: How to send object to host magsto All Other Wrox Books 1 August 16th, 2005 02:30 PM
SmartSocket question: How to parse object to host magsto Wrox Book Feedback 0 August 16th, 2005 06:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.