ProxySocket.Send Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
Send(Byte[], Int32, Int32)
Sends the specified amount of data to a connected Proxy
Declaration
public int Send(byte[] buffer, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | offset | The position in the data buffer to begin sending data. |
Int32 | count | The number of bytes to send. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Remarks
Prior to sending data, the socket must be connected using either a call to Connect(End
Send(Byte[], Int32, Int32, SocketFlags)
Sends the specified amount of data to a connected Proxy
Declaration
public int Send(byte[] buffer, int offset, int count, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | offset | The position in the data buffer to begin sending data. |
Int32 | count | The number of bytes to send. |
Socket |
socketFlags | A bitwise combination of the Socket |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Implements
Remarks
Prior to sending data, the socket must be connected using either a call to Connect(End
Send(Byte[])
Sends data to a connected Proxy
Declaration
public int Send(byte[] buffer)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Remarks
Prior to sending data, the socket must be connected using either a call to Connect(End
Send(Byte[], SocketFlags)
Sends data to a connected Proxy
Declaration
public int Send(byte[] buffer, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Socket |
socketFlags | A bitwise combination of the Socket |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Remarks
Prior to sending data, the socket must be connected using either a call to Connect(End
Send(Byte[], Int32, SocketFlags)
Sends the specified amount of data to a connected Proxy
Declaration
public int Send(byte[] buffer, int count, SocketFlags socketFlags)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | buffer | The data to be sent. |
Int32 | count | The number of bytes to send. |
Socket |
socketFlags | A bitwise combination of the Socket |
Returns
Type | Description |
---|---|
Int32 | The number of bytes sent. |
Remarks
Prior to sending data, the socket must be connected using either a call to Connect(End