SocketChannel forwarding

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: SocketChannel forwarding

  1. #1
    Join Date
    Oct 2004

    SocketChannel forwarding

    Hello all,

    I have the following problem:

    I have a server application for remote content conversion of audio, video and image files. This server class has a communication protocol which works via SocketChannels and which consists of 6 steps:
    1: Client sends header info
    2: Server sends Ok
    3: Client sends binary stream(file to be converted)
    4: Server sends header info
    5: Client sends Ok
    6: Server sends binary stream (converted file)

    This I got to work perfectly. Now however, I need to get it to work as a distributed application. This means I need to implement multiple servers running this server application, with the clients connecting to those servers in an intelligent way (so as to distribute the load as evenly as possible).

    I thought of doing this with a sort of proxy, where all the clients connect to a single proxy server which then redirects them to the correct server. I can't figure out how to do this correctly though. All the data I can find on the internet is about HTTP proxies, and that's not what I'm talking about here.
    I'm trying to setup a pure socket proxy...

    If anyone has any ideas on this, that would be great.


  2. #2
    Join Date
    Feb 2004
    Colton, CA
    So what is the URL for this fantastic forum of yours you're harping on about?

Similar Threads

  1. FileChannel and SocketChannel
    By deepalim in forum Java
    Replies: 0
    Last Post: 06-14-2005, 03:04 PM
  2. E_ACCESSDENIED while forwarding mail
    By Amitabh in forum Enterprise
    Replies: 0
    Last Post: 04-08-2002, 07:18 AM
  3. Forwarding
    By Michael Millett in forum Enterprise
    Replies: 0
    Last Post: 10-02-2001, 11:29 AM
  4. Auto Forwarding Email Discovery
    By Aric in forum Enterprise
    Replies: 2
    Last Post: 06-25-2001, 05:12 AM
  5. Circular Forwarding problems
    By Stuart Graham in forum Enterprise
    Replies: 0
    Last Post: 12-05-2000, 05:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center