imports system.runtime.remoting.remotingconfiguration
public class host
public shared sub main()
dim channel as new http.httpserverchannel(6363)
channelservices.registerchannel(channel)
registerwellknownservicetype(gettype(objectlib.simpleobject), "simpleobject", runtime.remoting.wellknownobjectmode.singlecall)
console.writeline("started ok")
console.readline()
end sub
end class
