|
-
Jan 29th, 2006, 03:06 AM
#1
Thread Starter
Junior Member
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
-
Feb 14th, 2006, 03:21 PM
#2
Re: Send string in winsock?
 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.
-
Feb 14th, 2006, 07:00 PM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|