Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. tcp communication between PDA and laptop

tcp communication between PDA and laptop

Scheduled Pinned Locked Moved C#
sysadminhelpquestioncsharp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hande54
    wrote on last edited by
    #1

    Hi! I am new to c# mobile application programming subject. I want to implement simple client(on PDA)/server(on Laptop) application that converts lowercase letters that are sent by the client to uppercase letters and sends back to the client by the server. socketForServer = new TcpClient(); socketForServer.Connect("ip address of laptop",port number); textBox1.Text = "connected "; socketForServer.SendTimeout = 50000; networkStream = socketForServer.GetStream(); streamReader = new StreamReader(networkStream); streamWriter = new StreamWriter(networkStream); according to the given code the network stream stays null so I can not read or write anything to/from the server. could you help me how can I solve this problem ? or could you recommend me better solutions ? thanks a lot.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups