File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes TCP Socket buffer size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
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://aspose.com/file-tools
 
subject: TCP Socket buffer size
 
Similar Threads
udp packet to tcp packet conversion
hot to improve the socket performance ?
Problem in Socket communications between two different OS
Socket - StreamCorruptedException
writing to socket (and disconnecting)