[?] Python - Listen for data on socket - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: [?] Python - Listen for data on socket (/showthread.php?tid=86044) [?] Python - Listen for data on socket by Spunky on 09-20-2008 at 02:44 AM
I'm trying to listen to data coming in on a socket, but loops just stop the script from responding. I've tried async methods, but I think thats going down the wrong path. I'm basically trying to talk to the msn servers (packet sniffing etc) RE: [?] Python - Listen for data on socket by RaceProUK on 09-20-2008 at 03:23 PM Doesn't the socket object have events where you can register a callback? RE: [?] Python - Listen for data on socket by Spunky on 09-20-2008 at 05:05 PM I'm not sure/ I've looked for stuff but haven't really found anything except bind() and listen(), but all examples show them in loops which locks up the program. I need it to be asyncronous. RE: [?] Python - Listen for data on socket by ShawnZ on 09-20-2008 at 07:09 PM use async methods RE: [?] Python - Listen for data on socket by Spunky on 09-21-2008 at 12:09 AM
quote: An example would help |