Steve,

I wrote a simple chat program that may help you.  You can modify it to send
what ever kind of data you wish.  It is commented pretty well to explain
what each section does.  If you want it, write me off list and I will e-mail
it over to you.

-Mark Talluto


> I had a simple idea but it it isn't working.
> 
> I want to create two stacks that "talk" to each other on different
> computers.
> 
> I thought:
> 
> Stack1 accept connections on port 9999 with "hello"
> Stack2 accept connections on port 9998 "with "hello"
> 
> Stack1 open socket to IP:9998
> Stack1 write "yes" to socket IP:9998
> Stack1 close socket IP:9998
> 
> Stack2 hello: read from socket 9998 for 1 line
> Stack2 put it
> 
> Stack2 open socket to IP:9999
> Etc.
> 
> But I'm getting nothing.
> 
> What don't I understand?
> 
> Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to