Results 1 to 2 of 2

Thread: Remoting and Windows Services

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Remoting and Windows Services

    Can anybody tell me what is wrong with this code snippet:


    ' Create a new TCP Channel to accept remote requests
    ' Using Channel 51010 as nobody else ought to be using it
    Channel = New TcpChannel(51010)

    ' Register the channel
    ChannelServices.RegisterChannel(Channel)

    ' Create a Singleton class
    Manager = New DistributedInterfaceLibrary.ManagerClass

    ' Expose the Singleton SAO
    RemotingServices.Marshal(Manager, "SECOManager.rem")

    I am trying to create a Singleton SAO, but when i try to start my service with this code in it, it Starts and immediately stops.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618
    Nevermind, I'm retarded, thanks anyways.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width