Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PC to PC over the Internet

0 views
Skip to first unread message

Agnel

unread,
Jun 13, 2006, 1:46:48 AM6/13/06
to
I have two PCs connected to the Internet. None of them are web servers.
Is it possible to send data from one machine to the other over the
Internet?

Niels Dybdahl

unread,
Jun 13, 2006, 3:09:12 AM6/13/06
to
"Agnel" <agnel....@gmail.com> wrote in message
news:1150177608.6...@i40g2000cwc.googlegroups.com...

>I have two PCs connected to the Internet. None of them are web servers.
> Is it possible to send data from one machine to the other over the
> Internet?

Yes. You might look into SCP (WinSCP client and ssh server on cygwin), VNC
(UltraVNC) or a FTP server.

Niels Dybdahl


Allan M. Bruce

unread,
Jun 13, 2006, 3:52:46 AM6/13/06
to

"Agnel" <agnel....@gmail.com> wrote in message
news:1150177608.6...@i40g2000cwc.googlegroups.com...
>I have two PCs connected to the Internet. None of them are web servers.
> Is it possible to send data from one machine to the other over the
> Internet?
>

Yes, although what you mean by "send data from one machine to the other"
will depict how you can achieve it. What is it you are trying to achieve?

Allan


Agnel

unread,
Jun 13, 2006, 4:52:06 AM6/13/06
to
This is a simple chat application. I need to transfer a buffer of about
1KB between PCs.
Cannot use any other IM client.

Allan M. Bruce

unread,
Jun 13, 2006, 5:37:19 AM6/13/06
to

"Agnel" <agnel....@gmail.com> wrote in message
news:1150188726.0...@g10g2000cwb.googlegroups.com...

> This is a simple chat application. I need to transfer a buffer of about
> 1KB between PCs.
> Cannot use any other IM client.
>
> Allan M. Bruce wrote:

In that case you need to look into writing a small program. I suggest using
sockets. Have a look at Winsock on msdn. In particular look at:

WSAStartup(), socket(), gethostbyname(), bind(), connect(), listen() send(),
recv()

You will need to setup one end as a server and one end as a client, or if
you have the ability, set up one central server for all clients to then
connect to.

Allan


Allan M. Bruce

unread,
Jun 13, 2006, 6:03:56 AM6/13/06
to

"Agnel" <agnel....@gmail.com> wrote in message
news:1150188726.0...@g10g2000cwb.googlegroups.com...

Bertel Brander

unread,
Jun 13, 2006, 1:56:54 PM6/13/06
to
Agnel wrote:
> This is a simple chat application. I need to transfer a buffer of about
> 1KB between PCs.

I have a simple P2P chat here:
http://home20.inet.tele.dk/midgaard/sample.html#chat

Use it as you like.

--
Absolutely not the best homepage on the net:
http://home20.inet.tele.dk/midgaard
But it's mine - Bertel

Agnel

unread,
Jun 14, 2006, 6:02:22 AM6/14/06
to
Bertel,
How do I know my IP address? I am sure my internal LAN IP will not
work. Which IP address do I use?
regards,
Agnel

Allan M. Bruce

unread,
Jun 14, 2006, 8:04:11 AM6/14/06
to

"Agnel" <agnel....@gmail.com> wrote in message
news:1150279342....@y43g2000cwc.googlegroups.com...

> Bertel,
> How do I know my IP address? I am sure my internal LAN IP will not
> work. Which IP address do I use?
> regards,
> Agnel
>

If both machines are within the LAN then the LAN IP will suffice, if not,
and you are behind some sort of router then it is a little more complex...

You need to find your IP address which can be obtained from visiting certain
wesbites, including mine (http:://allanmb . redirectme . net) but you will
need to make sure that the ports are forwarded to the machine you intend.

Allan


Agnel

unread,
Jun 15, 2006, 4:49:38 AM6/15/06
to
> If both machines are within the LAN then the LAN IP will suffice, if not,
> and you are behind some sort of router then it is a little more complex...

How complex? :)
Some clues.

Thanks anyway. It does work with my internal IP.

Allan M. Bruce

unread,
Jun 15, 2006, 5:01:29 AM6/15/06
to

"Agnel" <agnel....@gmail.com> wrote in message
news:1150361378....@u72g2000cwu.googlegroups.com...

It is not complex when it comes to the programming. As I said in my post,
you need to have some sort of packet forwarding or port forwarding which
will be up to the routing software you use...

Allan


0 new messages