Telnet Character Limit

Hi All,
We are using the SunOS 5.9 and the application is listening on user defined ports and waiting for the request from the user.When i am trying to connect and give the requests using telnet ,I am not able to provide the request beyond 256 characters.The telnet connection is hanging.There is no limit specified in the application level.Is there any limit which is defined in the system level? Please help with the details...

Thanks in Advance.

I would suggest downloading and compiling "netcat". Telnet does actually do some protocol handshaking and character mapping which can confuse things.