|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Simple TCP communications examplesI have to write a procedure that does the following: - Connect to a TCP port on a remote computer that has a simple listener application already installed. - Send a series of strings and end by sending a NULL '\0' This is unidirectional communication only. I've done this a long time ago in VB6. I'm up to speed on the Visual Studio 2005 IDE but cannot as easily, as I did in the past, figure out simple network communications. Any pointers to simple example code would be appreciated. Regards, James Hello James ,,
are you still in need for an example ?? i have once written two classes a sender and a receiver that can easily be re used in anny project i used it to detect other instances off my app running on the network and exchange some simple data ( texts strings ) howevere you can extend it to anything you like if you send me an e-mail on mic***@posseth.com i can send the package to you as a zipped atachment regards Michel Posseth [MCP] Show quoteHide quote "jward448" <jward***@yahoo.com> schreef in bericht news:1146879755.936689.272690@y43g2000cwc.googlegroups.com... > Hello All, > > I have to write a procedure that does the following: > > - Connect to a TCP port on a remote computer that has a simple listener > application already installed. > - Send a series of strings and end by sending a NULL '\0' > > This is unidirectional communication only. I've done this a long time > ago in > VB6. I'm up to speed on the Visual Studio 2005 IDE but cannot as > easily, as > I did in the past, figure out simple network communications. Any > pointers to > simple example code would be appreciated. > > Regards, > > James > Michel,
Yes, please. I'd love a copy of your classes. I wasn't able to email you direct because your email address is munged in the post. Please send the package to: jward448 at yahoo dot com. Thanks, James
Read Emails on Exchange server without OL client
single to string problem Error setting CSV to display text set focus from treeview to control How to move the mouse around in vb.net Invalid format of DLL Thread terminating instantly Move emails (.msg files) between an Outlook inbox and a file direc How to simulate mouse click in vb.net How do I take a screenshot in VB.net 2005 |
|||||||||||||||||||||||