[Spread-users] send text to spread group from command line?

Theo Schlossnagle jesus at omniti.com
Tue Aug 21 13:02:22 EDT 2001


On Tuesday, August 21, 2001, at 12:19  PM, Monte Ohrt wrote:
> SP_error: (N) Connection rejected, name not unique
>
>>>     snprintf(privatename, MAX_GROUP_NAME, "sp_client_%d", getpid());

Change the above line to:
  snprintf(privatename, MAX_PRIVATE_NAME, "spc_%d", getpid());

and you should be fine.
MAX_PRIVATE_NAME is the limitation here and is set by default to 10.  So 
the prefix "sp_client_" is 10 letters and the process ID is never 
incorporated into the name.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7





More information about the Spread-users mailing list