+2005-05-31 Lluis Sanchez Gual <lluis@novell.com>
+
+ * TcpServerChannel.cs: Use IP address in object uris by default.
+ Fixes bug #54234. Removed unused field.
+ * TcpClientTransportSink.cs: Fix warning.
+
2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
* TcpServerChannel.cs: In StopListening, wait for the server thread
internal class TcpClientTransportSink : IClientChannelSink
{
string _host;
- string _url;
int _port;
public TcpClientTransportSink (string url)
{
string objectUri;
_host = TcpChannel.ParseTcpURL (url, out objectUri, out _port);
- _url = url;
}
public IDictionary Properties
string host = null;
int priority = 1;
bool supressChannelData = false;
- bool useIpAddress = false;
+ bool useIpAddress = true;
IPAddress bindAddress = IPAddress.Any;
Thread server_thread = null;
Socket _socket;
TcpServerTransportSink _sink;
Stream _stream;
- TcpServerChannel _serverChannel;
byte[] _buffer = new byte[TcpMessageIO.DefaultStreamBufferSize];
public ClientConnection (TcpServerChannel serverChannel, Socket socket, TcpServerTransportSink sink)
{
- _serverChannel = serverChannel;
_socket = socket;
_sink = sink;
_id = _count++;