Server/Client project with different .net Tech..

  • Thread starter Thread starter pei_world
  • Start date Start date
P

pei_world

hi, I have a question about com port programming in C# and windows socket.
that is, if all I know about socket is using TCP protocol, so my problem is:
if I opening a channel with com port and providing Web service, do I still
need to use the socket in between?
can anyone tell me a good structure of them?

Server <- com port - >
Client
--------------------------------------- -------
------------------
Window Service (provide Web service) web
service client app

any idea or struct of them are welcome.
thanks
 
pei_world,

I don't quite understand what you are trying to do. If you are going to
use a socket, then you don't have to worry about such low level things like
a COM port. As a matter of fact, if you know where the web service is, all
you have to do is add a reference to the web service in your project and
VS.NET will take care of the rest for you.
 
Back
Top