473,807 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# TcpChannel ??

1 New Member
C# Gurus,

I am trying to understand more about TcpChannel and remoting.

1. Do TcpChannel functions wrap around the socket functions (i.e. calls the socket functions internally)?

2. If I have a server app that is set up using socket functions, can I set up a TcpChannel client app to communicate with that server? Would they know how to communicate? Or, do I have to set up the server app using TcpChannel functions also?

3. If I have both the server app and client app set up using TcpChannel, running them on the same PC, the server and client will be communicating at the application layer or physical link layer?

4. How is TcpChannel different from TcpListener and TcpClient?
Oct 27 '06 #1
0 2978

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1462
by: Aiden Fung | last post by:
In TcpChannel, the StartListening and StopListening methods require a data object type argument for initializing the channel state. Does anyone know what this data object type is? Thanks in advance, Aiden
2
3050
by: Ahmet AKGUN | last post by:
Hi; I am trying to make a server that handles db connection pool. Clients use TcpChannel to make a call to this server and get one database connection (OleDbConnection) from pool. But when I try to connect to server using TcpChannel, I get this message "Only one usage of each socket address (protocol/network adress /port)" is normally permitted.
1
9600
by: Ahmet AKGUN | last post by:
Hi All; I have one server to which clients are connected to via TcpChannel. I start server on one host and establish a client connection from another host via tcpchannel. On client, using activators, I try to invoke one function on server side using channel After first successfull fucntion invoke, I unplug ethernet cable on server side and
0
979
by: Risen | last post by:
Hi,all, How to declare a TCPChannel Object and implement it? In MSDN I found code and try it In IDE,but it have some error,so can not compile it! Imports System Imports System.Runtime.Remoting Imports System.Runtime.Remoting.Channels Imports System.Runtime.Remoting.Channels.TCP -> error! IDE report not found this namespace or type £¿£¿
2
3331
by: Risen | last post by:
Hi,all, How to declare a TCPChannel Object and implement it? In MSDN I found code and try it In IDE,but it have some error,so can not compile it! Imports System Imports System.Runtime.Remoting Imports System.Runtime.Remoting.Channels Imports System.Runtime.Remoting.Channels.TCP -> error! IDE report not found this namespace or type £¿£¿
2
10655
by: Sagaert Johan | last post by:
Hi When the remoting server starts and the client immediate begins calling the remote object on the server no problems. But when the client does not need to access the remote object for some time the connection seems to be broken on the next attempt to do a call to the remote object on the server. (i need to restart the server application to get it working again ). So it appears if the remoting connection is idle for some time (...
0
3163
by: Douglas Peterson | last post by:
I'm using Remoting to implement a client/server. I recently discovered that I cannot connect a second instance client because it is trying to reuse the port and appearently the socket isn't setup for address reuse. Upon creating the TcpChannel I get the following exception: "An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.runtime.remoting.dll Additional information: Only one usage of each socket...
0
982
by: juacom99 | last post by:
Hi. I'm making an aplication and i need to use the class TcpChannel but i can find even que package call System.RunTime.Remoting.TCP... Does someonn knows that is happening may be my dev is too old and don't have that package yet. Juacom99
0
1376
by: =?Utf-8?B?RGlvZ28gQWx2ZXM=?= | last post by:
Greeting Nicholas, Thanks for your answer but I'm pretty new in this stuff.... I already have a class that inherits the MArshalByRefObject and I use it to get answers from the server like this: On the client windows form I have: public ServerComm.Server obj = new ServerComm.Server(); public TcpChannel chan = new TcpChannel();
0
9720
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10626
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10112
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.