You Are Here:

Community: Developer Discussion Boards

#1 Old Question Non blocking recvfrom() ? - 2008-09-24, 13:59

Join Date: Jan 2007
Posts: 80
nono240
Offline
Regular Contributor
Hi there !

I read here that we can use socket._recv_will_return_data_immediately() to know if there's data, but it always return False (Python 1.4.4) . Moreover, where is documented this feature ???
setblocking() simply doesn't work with recvfrom().

Any help ??


In a world without Walls nor Windows, who need Gates ?
Reply With Quote

#2 Old Re: Non blocking recvfrom() ? - 2008-09-25, 14:11

Join Date: Jan 2007
Posts: 80
nono240
Offline
Regular Contributor
I managed to get it works: recv() is working with UDP sockets. I used it along with select.select


In a world without Walls nor Windows, who need Gates ?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
BUG?? Blocking read() calls on InputStreams kbateman Mobile Java Tools & SDKs 8 2009-01-03 19:07
(how to) blocking dialog? raicuandi Symbian User Interface 6 2008-01-11 05:12
Blocking behaviour of MIDP 2.0 sockets - getting it straight uttumuttu Mobile Java Networking & Messaging & Security 1 2005-06-21 09:39
"problem with Non blocking socket creation" pankaj-jataayu General Symbian C++ 2 2005-05-17 14:17
Inputstream read method is blocking gnhansen Bluetooth Technology 0 2004-09-29 15:44

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia