×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Question Non blocking recvfrom() ?

    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 ?

  2. #2
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Re: Non blocking recvfrom() ?

    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 ?

Similar Threads

  1. BUG?? Blocking read() calls on InputStreams
    By kbateman in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2009-01-03, 18:07
  2. (how to) blocking dialog?
    By raicuandi in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-01-11, 04:12
  3. Blocking behaviour of MIDP 2.0 sockets - getting it straight
    By uttumuttu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-06-21, 08:39
  4. "problem with Non blocking socket creation"
    By pankaj-jataayu in forum Symbian
    Replies: 2
    Last Post: 2005-05-17, 13:17
  5. Inputstream read method is blocking
    By gnhansen in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-09-29, 14:44

Posting Permissions

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