can I connect two computers using sockets

N

ngr

I am wanting to develop an application whereas two computers chat back and
forth.

The scenario is that I have a process running on both computers, which pass
information to each other as they go about processing their jobs -

I am aware that one computer has to act as server, and the other as client.
I did oncemanage to get something running with winsock, but now I am using
VB.NET2005 and sockets appear to have taken the place of winsock.

Please can anyone advise or point me to somewhere, so I know how to obtain a
constant connection and then pass information back and forth.

Thanks in advance for any feedback.

Tf
 
G

Guest

Please can anyone advise or point me to somewhere, so I know how to
obtain a constant connection and then pass information back and forth.

Standard sockets are bi-directional.

Take a look at TCPClient and Socket classes in .NET
 
R

RickH

I am wanting to develop an application whereas two computers chat back and
forth.

The scenario is that I have a process running on both computers, which pass
information to each other as they go about processing their jobs -

I am aware that one computer has to act as server, and the other as client.
I did oncemanage to get something running with winsock, but now I am using
VB.NET2005 and sockets appear to have taken the place of winsock.

Please can anyone advise or point me to somewhere, so I know how to obtain a
constant connection and then pass information back and forth.

Thanks in advance for any feedback.

Tf

You want to get whats called a "crossover" cable. It looks like a
regular cat5 ethernet cable in all respects except it's wired a little
differently to go direct from network card to network card. Or you
can get a small cheap 4 port hub and connect both computers to it with
regular ethernet cables. Once you can ping across then you can load
IIS or whatever and do client/server or web or tcp or dcom, etc.
 
G

Guest

You want to get whats called a "crossover" cable. It looks like a
regular cat5 ethernet cable in all respects except it's wired a little
differently to go direct from network card to network card. Or you
can get a small cheap 4 port hub and connect both computers to it with
regular ethernet cables. Once you can ping across then you can load
IIS or whatever and do client/server or web or tcp or dcom, etc.

I found that the new Intel network cards on laptops in fact have auto-cross
over. The cross over cables maybe a thing of the past soon :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top