21 Commits
Author SHA1 Message Date
Jeffrey Stedfast 5b63c536b6 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannel.cs (ParseTcpURL): If given "tcp://", don't set host
	to "", leave it as null.


svn path=/trunk/mcs/; revision=113361
2008-09-17 23:26:51 +00:00
Jeffrey Stedfast 1228b92905 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannel.cs (ParseTcpURL): TcpClientTransportSink needs the
	host component, so extract that info into its own string as well.


svn path=/trunk/mcs/; revision=113321
2008-09-17 15:38:27 +00:00
Jeffrey Stedfast f54fd3ae5b 2008-09-12 Jeffrey Stedfast <[email protected]>
Fix for bug #320298

	* TcpClientTransportSink.cs: Updated for change to
	TcpChannel.ParseTcpURL(). We now need to do our own integer
	conversion/validation of the port.

	* TcpChannel.cs (ParseTcpURL): We need to match the
	protocol ("tcp") case-insensitively. The objectURI is supposed to
	include the leading '/' character. Also, we need to ignore invalid
	port designators since Microsoft's .NET implementation of
	TcpChannel.Parse() doesn't seem to care that they are valid.


svn path=/trunk/mcs/; revision=112912
2008-09-12 22:10:44 +00:00
Gert Driesen 36e65ff2e6 * System.Runtime.Remoting_test.dll.sources: add SocketCachePolicy.cs.
* SocketCachePolicy.cs: Added.
* IpcChannel.cs: Fixed argument names to match MS. Changed spaces to
tabs.
* IpcClientChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* IpcServerChannel.cs: Fixed argument names to match MS. Changed spaces
to tabs.
* TcpChannel.cs: Fixed argument names to match MS.
* TcpServerChannel.cs: Fixed argument names to match MS.
* MetaData.cs: Fixed argument names to match MS.
* SdlChannelSink.cs: Fixed argument names to match MS.
* SUDSGeneratorException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* SUDSParserException.cs: Marked Serializable on 2.0 profile, and
added deserialization ctor.
* RemotingClientProxy.cs: Marked ComVisible on 2.0 profile.

svn path=/trunk/mcs/; revision=110042
2008-08-09 14:06:44 +00:00
Zoltan Varga 8708f16017 2008-01-25 Zoltan Varga <[email protected]>
* TcpChannel.cs (Init): Handle properties == null.

	* TcpClientChannel.cs (.ctor): Ditto. Fixes #355905.

svn path=/trunk/mcs/; revision=93953
2008-01-25 19:38:31 +00:00
Lluis Sanchez 83e2dc7d21 2007-01-08 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
	  the constructor of TcpServerChannel.


svn path=/trunk/mcs/; revision=70646
2007-01-08 12:53:01 +00:00
Lluis Sanchez 4dfd020e4f 2006-12-18 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs: The remoting infrastructure does not call
	  StartListening() anymore, so it has to be called by the channel.


svn path=/trunk/mcs/; revision=69705
2006-12-19 01:18:22 +00:00
Gert Driesen 5c3bb4c9c2 * TcpClientChannel.cs: Set eol-style to native.
* TcpChannel.cs: Fixed line endings. Set eol-style to native.
* TcpServerTransportSink.cs: Fixed line endings. Set eol-style to
native.
* TcpConnectionPool.cs: Fixed line endings. Set eol-style to CRLF.
* TcpClientTransportSinkProvider.cs: Fixed line endings. Set eol-style
to native.
* TcpMessageIO.cs: Set eol-style to native.
* TcpServerChannel.cs: Fixed line endings. Set eol-style to native.
* TcpClientTransportSink.cs: Fixed line endings. Set eol-style to
native.

svn path=/trunk/mcs/; revision=61302
2006-05-31 08:46:36 +00:00
Lluis Sanchez 8b0c929fea 2005-07-25 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs: Don't create a server channel when the
	default constructor is used. Fixes bug #75626.


svn path=/trunk/mcs/; revision=47650
2005-07-25 14:08:08 +00:00
Lluis Sanchez 08b509b1a7 2004-12-10 Lluis Sanchez Gual <[email protected]>
* TcpChannel.cs: Don't use regular expressions to parse the url, it's
	too slow.
	* TcpMessageIO.cs: Read byte chunks using the new StreamRead method,
	which won't block if the connection is closed.
	* TcpServerChannel.cs: Flush the stream after writing the response.
	Wrap the close call in a try/catch (some bytes can be left in the
	buffered stream if a connection is suddently closed, and it will fail
	when trying to flush them).


svn path=/trunk/mcs/; revision=37564
2004-12-10 11:37:16 +00:00
Duncan Mak bab786ade5 Add licensing info
svn path=/trunk/mcs/; revision=30348
2004-06-24 21:38:17 +00:00
Lluis Sanchez fe5721d637 * TcpChannel.cs: Made Init private.
* TcpClientTransportSink.cs, TcpClientTransportSinkProvider.cs,
	  TcpServerTransportSink.cs: Made internal.

svn path=/trunk/mcs/; revision=27246
2004-05-13 08:59:05 +00:00
Lluis Sanchez 381e5a148b TcpChannel.cs: Added null check.
svn path=/trunk/mcs/; revision=21071
2003-12-12 17:00:05 +00:00
Lluis Sanchez 94b17b6181 * TcpClientChannel.cs: Added support for name and priority properties.
* TcpServerChannel.cs: Added support for priority, bindTo, useIpAddress,
	  machineName and supressChannelData properties.
	* TcpChannel.cs, TcpServerTransportSink.cs: Formatting change.

svn path=/trunk/mcs/; revision=20076
2003-11-16 21:56:48 +00:00
Lluis Sanchez 3509f4a46f TcpChannel.cs: take into account name and priority properties.
svn path=/trunk/mcs/; revision=19944
2003-11-13 17:01:35 +00:00
Lluis Sanchez 3dc6ac7df6 * TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
	  some channel properties.

svn path=/trunk/mcs/; revision=14060
2003-04-27 20:15:54 +00:00
Lluis Sanchez 856d3d578e * TcpServerChannel.cs: Changed management of listener threads.
* TcpConnectionPool.cs: Add shutdown method.
* TcpChannel.cs: Corrected shutdown method.

svn path=/trunk/mcs/; revision=10939
2003-01-27 10:49:16 +00:00
Lluis Sanchez 913fe3e70b * TcpServerChannel.cs: Changed default formatter sink to BinaryFormatterSink
* TcpMessageIO.cs: warning corrected.
* TcpConnectionPool.cs: changed default value of MaxOpenConnections.
* TcpClientTransportSink.cs: implemented support for one way calls.
* TcpClientChannel.cs: Changed default formatter sink to BinaryFormatterSink.
* TcpChannel.cs: corrected Parse method. Now can parse channel uris.
* BinaryServerFormatterSink.cs: Implemented.
* BinaryClientFormatterSink.cs: Implemented.

svn path=/trunk/mcs/; revision=10925
2003-01-26 18:11:18 +00:00
Lluis Sanchez 0792fc1a6d no message
svn path=/trunk/mcs/; revision=9963
2002-12-29 12:36:37 +00:00
Dietmar Maurer 2634b55731 more tcp channel code, renamed soap namespace to Soap
svn path=/trunk/mcs/; revision=6990
2002-08-24 10:39:22 +00:00
Dietmar Maurer a5d8bd1877 added missing file
svn path=/trunk/mcs/; revision=6800
2002-08-20 09:36:07 +00:00