This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes TCP Socket buffer size Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "TCP Socket buffer size" Watch "TCP Socket buffer size" New topic
Author

TCP Socket buffer size

Ravi Shankarappa
Ranch Hand

Joined: Jan 09, 2010
Posts: 55
Is there a default buffer size for tcp socket receive buffer?
Ravi Shankarappa
Ranch Hand

Joined: Jan 09, 2010
Posts: 55
Ok. Found it. Indeed there is a default size and its 64k. But one can change it by using "setReceiveBufferSize(int size)".
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: TCP Socket buffer size
 
Similar Threads
hot to improve the socket performance ?
writing to socket (and disconnecting)
Problem in Socket communications between two different OS
Socket - StreamCorruptedException
udp packet to tcp packet conversion