On Wed, 28 Apr 1999, Glynn Clements wrote: # > # Why don't you just use fgets(), fscanf() etc? # > how? don't they need a FILE pointer not a file descriptor. (this is probably # > a very silly question with a very simple answer...) # See the fdopen(3) manpage. Ahhh... i see. FILE *foo; foo = fdopen (sd, "r"); /* where sd is a socket descriptor from socket() */ What's the maximum size of data you can send over a SOCK_STREAM in one go? -- +++ The program isn't debugged until the last user is dead. +++ [EMAIL PROTECTED] http://www.penguinpowered.com/~a_out