[Mono-list] Remoting Channels Tcp and Http Confusion

Jonathan J. Vargas R. Jonathan J. Vargas R." <jonathan.j.vargas@gmail.com
Thu, 7 Apr 2005 10:04:54 -0600


------=_Part_2136_19753145.1112889894737
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hi.

i am developing an enterprise service using remoting, want tcp and
http channel for listening. i derived some classes to perform custom
functionality, as u will see. the prob is, that in ServerTest.cs and
Server.cs (has service control operations), when i first Add a tcp
channel to listen and later a http channel, things work fine, but if i
do first add httpchannel and later tcp one..  the tcp channel
shutdowns..

i tested a single remoting service and this is not a prob
(SimpleService.cs).. so i wondered if the prob is in my code (i hope)
or something is wrong around.

please refer to ServerTest.cs to start reading, u will see a comment
about the prob im having.. really dunno what could be happening.. so
want some help.

thanks,

regards 


-- 
Jonathan J. Vargas Rodriguez
jonathan.j.vargas@gmail.com
"Conservar el silencio interior cuando vuelo en la tormenta me es
mejor, porque asi ya no soy otra gota de la tempestad"

------=_Part_2136_19753145.1112889894737
Content-Type: application/x-gzip; name="Remoting-Service.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Remoting-Service.tar.gz"

QlpoOTFBWSZTWd8CBsEAL1//2N23j1FZf///f//frv///+sAASwAIAAQCGAenvHyie+22sRe83e4
R97bilPoO8vcz1NN7sZSqFA+M3yA17C+iTexozZXQRVWQAAGgA0AGtBppQKa0BscJTSmmkw0FNAQ
0aND1MgADQAGjQAAAAA00GmTQiEgVBoBoZAAGIBoAAAAAHqANAJTElUepoAA0AAAaAA0AAAAAAAA
BJqIiZTTRSbySb0T0ptJobCmnpAANPUA9QDRtTQAAACJKRqGkm8EelR6MieiYR6amRppgT00eppM
RiaM0mJoaNMTTQKikCAgTEaZTJpk0p+Up/qCG0nqT9TSek9qhkNA9QwGSeptIZqfDR9IoUeVJRUC
yHi2d2HHXlsQtNFNNZAapgKjvIBA8Xtaq+Fvwni3usjj84ATrjAhAMyBiHGQEk8fAAZtd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