Results 1 to 5 of 5
  1. #1
    Ozmosis is offline Member
    Join Date
    Oct 2009
    Posts
    9
    Rep Power
    0

    Default a small issue "I THINK"

    hello,
    the thing is i am trying to send the socket address (as a private msg) as a string as part of an array from a flash client to a java server... and the server need to recognize the string as a SocketAddress.

    is there a function "like toString()" or something that can do that.

    thankx any way

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    What do you mean "socket address" ? Are you talking about the java class SocketAddress or are you talking about the public/private IP of the client or of the server or something else?
    My Hobby Project: LegacyClone

  3. #3
    Ozmosis is offline Member
    Join Date
    Oct 2009
    Posts
    9
    Rep Power
    0

    Default

    i am talking about the java class... i will give u the idea u may have a better way to do it,
    the idea basically is that the client connect to server get another client socketaddress (thats n the server of course) n then wen he forward the massage through the server its should contain the socketaddress of the client , so as so further processing is required by the server.

    I hope i was clear :)

  4. #4
    Ozmosis is offline Member
    Join Date
    Oct 2009
    Posts
    9
    Rep Power
    0

    Default

    so in an easy i dont know wither java will accept the string format of the address passed by flash as a SocketAddress... also i thought abt serialization
    bt doesnt tht also will convert the a string which makes it the same thing.

    any thoughts will be appreciated .

  5. #5
    Ozmosis is offline Member
    Join Date
    Oct 2009
    Posts
    9
    Rep Power
    0

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 03:03 AM
  2. Replies: 2
    Last Post: 10-08-2009, 11:28 PM
  3. Facing issue in printing user like "ab\\cd"
    By psmhelp in forum New To Java
    Replies: 4
    Last Post: 04-27-2009, 01:28 PM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Tags for this Thread

Posting Permissions

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