Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> max recv buffer size for socket Page: [1]
Login
Message << Older Topic   Newer Topic >>
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,
Post #: 1
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.

(in reply to shailishi)
Post #: 2
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> max recv buffer size for socket Page: [1]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031