All the methods of the WinSock control are explained in the table below
Property | Description |
Accept | Accepts a Connection Request. Normally used in the ConnectionRequest Event Procedure |
Bind | Binds the control to a specific port and adapter. Use this if you have multiple Protocol adapters |
Close | Closes the current connection |
Connect | Attempts to connect to the specified PC |
GetData | Gets the data that has arrived. Clears the data buffer. |
Listen | Listens on the specified port |
PeekData | Looks at incoming data without removing it from the buffer. |
SendData | Sends data when a connection is established |
Comments