<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d22492444\x26blogName\x3dWireless+Utopia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://witopia.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://witopia.blogspot.com/\x26vt\x3d2313595909737347303', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Wireless Utopia

The journey towards a free wireless world.

Winsock, Codesearch and the New Year.

Saturday, December 30, 2006

Here is a useful tip if you are working on winsock. If you ever get the error 10035 (EWOULDBLOCK) while sending data from the application, then one thing which might work is increasing the send buf size with SO_SNDBUF option. It may still come but the frequency will reduce by a large amount. Here are some example usages. And this tip is proved to be a lifesaver for me!

BTW, Google Codesearch rocks! Here is a gem I found! Ah. Coding sometimes gives kicks, doesn't it. :)

And yup. The template has finally been changed. In preparation for the new year. A very happy new year to everybody. Enjoy!

posted by Rajiv, 10:02 AM

0 Comments:

Add a comment