Results 1 to 6 of 6
  1. #1
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default is clientSocket to clientSocket connection possible

    Hi Guys ,

    I am developing a voip application in java is it possible for a client socket to directly communicate with the client socket ?

    I am able to get client socket connected to serverSocket.

    Any suggestions will be a great help.

    Thanks in advance

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    You must have a ServerSocket in order to receive incoming connections. accept() will return a regular Socket once connected.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  3. #3
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    I have a server application and a client application that can connect to each other but how do i connect from one client to another for transmitting voice over socket.

  4. #4
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    Either every client needs a ServerSocket, or all connect to a central server.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  5. #5
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    i have a central server but how will they exchange and there will be multiple clients any ideas

  6. #6
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    Have you tried anything?
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

Similar Threads

  1. Server socket - send image to client
    By Hinty in forum Networking
    Replies: 2
    Last Post: 03-14-2009, 07:39 AM
  2. Client Server socket problem - help needed
    By kellaw in forum Threads and Synchronization
    Replies: 6
    Last Post: 10-03-2008, 06:49 PM
  3. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 09:18 AM
  4. Replies: 1
    Last Post: 11-16-2007, 10:09 AM

Posting Permissions

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