sockets question

I'm new to sockets programming and I have a few questions:

Is the a maximum limit that you can use for the send and receive buffers via a call to setsockopt()? Does it differ on different OSs? If it does, how do I find out the max limit?

What is the advantage to setting the buffers to be larger? Is there any disadvantages?

Thanks in advance!!

Hai,
In socket it is limit to handle datas in transferring.You can transfer only 256 datas.
There are option available in socket_adddr and socket_addr_addrin structure.
cheers.