×

Discussion Board

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

    HTTP Tunnel feasability : sockets, threads

    Hi there !

    Bored by HTTP restrictions from your provider ?
    I'd like to write a GNU HTTP Tunnel compatible client in Python for S60.
    An implementation is already available in Java : jhttptunnel.
    A very simple java client example: HTC.java

    For those who read the source above : since sockets can't be shared between threads, I need some advice for implementation.

    Any ideas ?

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: HTTP Tunnel feasability : sockets, threads

    For those who read the source above : since sockets can't be shared between threads, I need some advice for implementation.

    Any ideas ?
    Since native objects cannot be shared between threads, create a Python muxer which takes input from several threads and forwards its to the thread owning the socket.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

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

    Re: HTTP Tunnel feasability : sockets, threads

    I'll have a look to Open C instead

Similar Threads

  1. mixing AO, threads and sockets
    By mikfi in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2006-11-21, 23:19
  2. Http and sockets issue
    By nicholasgaye in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-03-21, 10:29
  3. HTTP vs Sockets
    By dotcdotc in forum Symbian
    Replies: 1
    Last Post: 2005-05-27, 12:04
  4. WAP, Sockets and HTTP in S60 v2
    By Kalderas in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2004-09-29, 12:14
  5. WAP Buffering / Sockets / Http / GPRS
    By Ian Johnson in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2003-04-11, 13:54

Posting Permissions

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