<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need to change the max. size of group names
in Spread 3.17.3 on WinXP( cygwin ) ?</FONT></DIV>
<DIV><FONT face=Arial size=2>How should I go about it ?.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried foll. changes as suggested on previous
post(s):-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sp.h</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>#define MAX_GROUP_NAME 52<BR>#define
MAX_PRIVATE_NAME 30 /* largest
possible size of private_name field of SP_connect()
*/<BR>#define
MAX_PROC_NAME 20 /*
largest possible size of process name of daemon */<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>spread_params.h</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>#define MAX_PRIVATE_NAME 30
/* not including the null, look for it if changed */</FONT></DIV>
<DIV><FONT face=Arial size=2>#define MAX_GROUP_NAME
(1+MAX_PRIVATE_NAME+1+MAX_PROC_NAME)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I connect to daemon using Java client on
WinXP and I get foll. exception after the modification:-</DIV></FONT>
<DIV><FONT face=Arial size=2><FONT color=#0000ff
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#0000ff size=2>SpreadException:
spread.SpreadException: read(): java.net.SocketException: Connection
reset</DIV></FONT></FONT>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Everthing works fine if I build from
source with default group name size of 32. </FONT></DIV>
<DIV><FONT face=Arial size=2>Has anyone encountered this before ? Any help would
be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>-Nilay</FONT> <FONT face=Arial
size=2></FONT></DIV></BODY></HTML>