Locked raw sockets on windows phone 7

  • Thursday, September 09, 2010 2:43 PM
     
     

    Dear All

    Can I create Raw sockets and write an app to sniff all the packets on the network. I am not able to even create a basic TCP socket on Windows phone 7. Is the socket api hidden in windows phone 7? .

    Curious to know the reason.

     

    Thank you,

    REgards,

    PRajakta

     

     

All Replies

  • Thursday, September 09, 2010 2:53 PM
     
     

    Dear All

    Can I create Raw sockets and write an app to sniff all the packets on the network. I am not able to even create a basic TCP socket on Windows phone 7. Is the socket api hidden in windows phone 7? .

    Curious to know the reason.

    Presently you cannot create sockets. 

    I've never seen an official reason stated, though the reasons most state have to do with security, power management, and reliability.


    Joel Ivory Johnson | http://www.j2i.net | Device Application Development MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.
  • Thursday, September 09, 2010 3:30 PM
     
     
    The reason explained to me for no socket support in the current version is that it just couldn't be implemented correctly and thoroughly tested in the time available for v1.

    --

    Ginny Caughey
    Device Application Development MVP
     
     
  • Thursday, September 09, 2010 11:14 PM
     
     

    Hi Prajakta,

    Rob Tiffany confirmed impact on the testing matrix was a factor in this decision as Ginny advises. Refer 1:08:30 in WPH306 from Tech Ed 2010 NA.

    I've seen there is a lot of support for this requirement to be addressed following the initial release both from within MS and externally.