Is there anyone who knows how winsock works and can send me a example or just reply here ??
Thanks
e-mail: [email protected]
Printable View
Is there anyone who knows how winsock works and can send me a example or just reply here ??
Thanks
e-mail: [email protected]
Winsock control is use to send/receive data using
Transfer Control Protocol (TCP) or User Datagram
Protocol (UDP).
The difference between the two is that, in TCP a connection
must be establish between the client pc and the server pc.
A common example of this is your Telnet application.
On the other hand, a UDP does not need a connection. any
pc can be a server or a client. you'll just have to
listen to a port and catch whatever data arrives. To send
data, just specify the local port, invoke the SendData
method and your data is on his way.