-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Net.Sockets
Milestone
Description
This API has been proposed and approved on #861.
Since we're closing the mega-issue(#33418) we'll track this here.
class Socket
{
// existing: public static bool ConnectAsync(SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e);
public static bool ConnectAsync (SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e, ConnectAlgorithm connectAlgorithm);
}
// new enum
enum ConnectAlgorithm
{
// use existing behavior.
Default,
// use a Happy Eyeballs-like algorithm to connect.
Parallel = 1
}carlreinke, gmcchessney, neon-sunset, am11, divyeshio and 2 more
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-System.Net.Sockets