All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
max recv buffer size for socket
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
max recv buffer size for socket - Jul. 19, '06, 2:46:42 AM
|
|
|
shailishi
Posts: 15
Joined: Jan. 6, '06,
Status: offline
|
Is thre any limit on the max buffer size for datagram socket in interix?
The setsockopt option does not give me any error if i am setting it to a very large value( e.g 1073741824 ).
Thanks,
|
|
|
RE: max recv buffer size for socket - Jul. 19, '06, 8:46:56 AM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
Yes, there is a limit. It is a Winsock limit.
Interix just calls the equiv. Winsock api.
The recommendation for winsock is to call getsockopt() and
see if the size if less than the requested size.
Then you know you're at the max size.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|