SendData

Description

Sends data to a remote host.

Good to know: This is the one and only method for sending data whether you are writing a server or a client.

Remarks

Use the SocketHandle parameter to specify which socket data is to be sent through. Data can be sent as a string, or as raw data (such as a file or image), in which case it should be passed as a byte array. Note that the RemoteHostUDP and RemotePortUDP parameters are not currently supported and are included only for future extensibility.

Prototype

LONG CSockQ::AddListener(long PortToListenOn, INT Protocol, long AdapterNumber, long Backlog)

Last updated