I RATTAN wrote:

On Tue, 17 May 2005, Russ Cox wrote:


What does your program look like?


Here is the client code..
-ishwar
-----
#include <u.h>
#include <libc.h>

void
main(void)
{
   char ibuf[128], obuf[33]="98765432109876543210987654321098";

   int fd, i, len;


if((fd = dial("tcp!tigaon!7", 0, 0, 0)) < 0) sysfatal("dial");
If you do sysfatal("dial %r"); it should print
errstr as well, so you'll get some more info when it fails.

Reply via email to