Results 1 to 3 of 3

Thread: Send string in winsock?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    23

    Send string in winsock?

    I am new to the winsock thing and everything ...

    so I am trying to send a string from one computer to another over the internet, how the hell do I do it? Is there ANY way at all? (without installing client and servers on either somputer)

    thankx
    He he he ... me ...

  2. #2
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Send string in winsock?

    Quote Originally Posted by Big Bill
    (without installing client and servers on either somputer)

    thankx
    This was asked before... and the anser is: NO, it's NOT possible.
    You must have a client/server on each computer to be able to transfer data.

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Send string in winsock?

    Even if this was possible, and you could successfully send a string from one computer to another with no client server software running, there would be nothing you could do with the string, because there would be nothing there to receive it, so it would just go nowhere.

    You might be interested in UDP (User Datagram Protocol) this is a type of winsock, you use either a TCP connection or a UDP, the difference being with a UDP connection you dont have to set up a direct connection with the remote computer, you can simply send data without a physical connection established, whereas TCP (Transmission Control Protocol) requires handshaking and it needs to establish a connection.

    UDP is not very reliable because you cant know if the data has actual been received unless the remote host sends a comfirm command back.

    Each has its advantages for certain projects.

    Chris
    Chris

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