TCP/IP Based Network traffic (Like WinSock)

Discussion in 'Questions (Windows Mobile)' started by TARQ, Mar 27, 2008.

  1. TARQ

    TARQ Member Licensed User

    TCP/IP Based Network traffic (Like WinSock)

    --------------------------------------------------------------------------------

    I am trying to write a program that has a Client/Server structure.
    The Client has to communicate raw data (no files but strings and numbers)through the Internet with the server. This has to be a two way communication.

    The server application has to be able to handle multiple clients at the same time. So this will be written in MS VS NET 2005.

    Is there a way with the current version of Basic4PPC to do this????
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. TARQ

    TARQ Member Licensed User

    Ok, thought that also, but in the help there is only mention of files that are sent. How do i send just a text string from a textbox, or the vlue of a variable. Do you have an example of that?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    The example in the help is of sending strings.
    After you get a stream with client.GetStream you can send any data you want with a BinaryFile object.
     
  5. TARQ

    TARQ Member Licensed User

    Thanks. Will try that.
    And this will communicate with VB.NET 2005???
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    It can communicate with any TCP server.
     
  7. erkin593

    erkin593 New Member

    And how to send a message without a binary file as plain text
     
  8. Erel

    Erel Administrator Staff Member Licensed User

  9. erkin593

    erkin593 New Member

    Thank you so much! Problem was solved!
     
Loading...