Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

midlet socket

reggiemillerreggiemiller Posts: 23Member
Hello, i have a problem.

I have an application that send messages from a MIDLET to a PC. The PC creates a socket and waits for connection. In the MIDLET i open a connection and i send messages. Is there a way to make the reverse action? I mean to send messages to the MIDLET from the PC ? (something like creating a socket in the midlet)

Thanks, have a nice day.

Comments

  • ABDUL HAYEEABDUL HAYEE Posts: 81Member
    : Hello, i have a problem.
    :
    : I have an application that send messages from a MIDLET to a PC. The
    : PC creates a socket and waits for connection. In the MIDLET i open a
    : connection and i send messages. Is there a way to make the reverse
    : action? I mean to send messages to the MIDLET from the PC ?
    : (something like creating a socket in the midlet)
    :
    : Thanks, have a nice day.


    ...........................................................................

    Hello ,
    I am from Virtual University , Pakistan . I am also stuck with similar file transfer problem . In my code , I have used " localhost" as the server . Now I am trying to send a text file from my computer IP 192.168.1.33 to another computer next door ( on the same LAN ) IP 192.168.1.34 . Same is not getting through , presumably the coding problem. However , simple strings like "Hello Abdul ... " , do pass on and are echoed back.

    Please tell me how you over came your problem ? Please send the code snippet to send a text file like " stars.txt " , then recieving the confirmation of transfer. Same may be displayed on message box , or any other form.

    Please help me as I am badly stuck , despite of trying several different codes. Thanking you with sincere wishes,

    Abdul hayee ,
    ahayee84@hotmail.com
    ahayee84@yahoo.com .
Sign In or Register to comment.