Simple TCP communications examples

  • Thread starter Thread starter jward448
  • Start date Start date
J

jward448

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
 
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 (e-mail address removed) i can send the package to
you as a zipped atachment

regards

Michel Posseth [MCP]
 
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
 
Back
Top