Re: [VB 2005] Send Messages
Have you looked into using TCP to send it directly from one pc to the other?
Re: [VB 2005] Send Messages
Nope, never heard of TCP before! I'll take a look, thanks.
Re: [VB 2005] Send Messages
TCP... as in TCP/IP... as in the the protocol used to communicate over the Internet and virtually every LAN installed in living memory. take a look at the TcpListener and TcpClient classes.
Re: [VB 2005] Send Messages
i've searched for tcp and:
what are packets?
what's a tcplistener?
Does anyone have any working code that will allow me to send some text to another pc pleasE?
------
KNXRB
Re: [VB 2005] Send Messages
If you type tcplistener into the MSDN library search box then you'll be provided with a link to the help topic for the TcpListener class. The first line in that help topic says:
Quote:
Listens for connections from TCP network clients.
You don't need programming expertise to use a search engine.
Re: [VB 2005] Send Messages
By the way, how large are these messages? If they are fairly small (512 bytes) or so, then you might also look at UDP. UDP is much less common, but has a few advantages in some situations.
Re: [VB 2005] Send Messages
I've looked for udp but i can't find anything. Anyone got any code that let's me send a message after clicking button?
And recieve it and put it into a textbox called txtmain?
------
KNXRB
Re: [VB 2005] Send Messages
I really do wonder where on earth people actually look when they say they can't find anything sometimes. I just Googled udp ".net" and the first two matches were .NET Framework Developer's Guide: TCP/UDP at MSDN and UDP application for VB.NET at the Code Project. All that's missing is the bow on top.
Re: [VB 2005] Send Messages
I found everything needed to connect two applications using th SEARCH function of this forum!