Results 1 to 2 of 2

Thread: Send Message over network

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Posts
    133

    Send Message over network

    I have a program running on a regular PC waiting for input. I need to take a custom mobile app and have it send a simple text string to that PC (I would specify the IP address of the server)...

    Basically, on the mobile app, a user would enter a simple number... the number (in plain text) needs to be sent to the server via the network.

    What's the easiest way to do this?

    Thanks.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Send Message over network

    Look at the system.net namespace, and use a socket - presumably the server is listening on a port?
    Create a socket, and connect to your IP address using that port, and then you can send and receive
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

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



Click Here to Expand Forum to Full Width