|
-
Jul 8th, 2008, 03:58 PM
#1
Thread Starter
Addicted Member
Stuck on TCP/IP "Server"....
I'm looked all across the internet at tutorial after tutorial for a SIMPLE TCP/IP communication program, and found nothing. Just a slew of programs built to perform complicated, but routine functions.
I dont need a Server/Client connections. I just need Master/Slave connections.
I have a Master computer, that I need to call other slave computers and communicate with them. So I guess it's the reverse of a Server/Client.
I have a handful of "stupid" or "Slave" computers, their soul job is to listen for a command, then execute said command.
With this will be a single Master computer. I need it to call the slaves via their IP address, and issue commands to them. I have this working (it was done in Python, rather than VB.NET, so no code to show here).
But what I'm stuck on is, is there a simple way to have the slave computers waiting, listening to a port, accept a connection, then once connected with the Master computer, be able to read/write simple ascii with the Master?
I dont need synchronous connecting, or dictionaries of clients (for there will be only one master to it), etc.
All the tutorials I find are for too complicated for me, and it's difficult weeding out useless code from the code I actually need. (I'd post the tutorial, however it's many pages long).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|