×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Vadodara
    Posts
    64

    Cool Socket : server gets data only when I exit client app

    my client J2ME application and vb.net Server application communicates over socket medium. now problem is tht I get connection request in server through client but didnt send-receive data. Whtevr data I m sending through client tht get stored into queue and when I exit mobile client application then I get data into server application. I dont know wht it happens ?
    available sample socket application in WTK gives same problem on mobile.
    Any idea abt this?
    thnx

  2. #2
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Socket : server gets data only when I exit client app

    Hi,
    Please make sure how the server works.Does it work using buffering system.Otherwise did u get any responses at intervals from the server while sending the data or r u getting any response from the server after sending the data.
    thanks
    Soku

  3. #3
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Vadodara
    Posts
    64

    Re: Socket : server gets data only when I exit client app

    nope. Server application sends data as soon as it gets data from client. No time interval is set. and how could I see any server response when I EXIT client application ?????
    thnx

  4. #4
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Socket : server gets data only when I exit client app

    Hi,
    If u r using the wtk check the network monitor in ur wtk.so that u can see the incoming and outgoing messages...
    Thanks
    Soku

  5. #5
    Regular Contributor
    Join Date
    Jun 2007
    Location
    Vadodara
    Posts
    64

    Re: Socket : server gets data only when I exit client app

    well I got solution to my problem. As I was not using flush(), I didnt reach upto to the server. Thanx to all u guys.

Similar Threads

  1. Replies: 3
    Last Post: 2008-09-09, 04:53
  2. client server programming in j2me
    By mottaisami in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-09-05, 14:43
  3. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  4. Cannot to receive data from server...
    By ramis55 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-05-09, 13:46
  5. Socket received data converted to unicode doesn't display the full informat
    By prsens in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-03-17, 03:36

Posting Permissions

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