diff --git a/api/@ohos.net.connection.d.ts b/api/@ohos.net.connection.d.ts index 3ff974a7558c559153b9f2c6c1ff02df4843297e..9e6c7fee5ce610a0b5151a800c4107bdf6164021 100644 --- a/api/@ohos.net.connection.d.ts +++ b/api/@ohos.net.connection.d.ts @@ -170,16 +170,6 @@ declare namespace connection { export interface NetHandle { netId: number; - /** - * Binds a TCPSocket or UDPSocket to the current network. All data flows from - * the socket will use this network, without being subject to {@link setAppNet}. - * Before using this method, ensure that the socket is disconnected. - * - * @param socketParam Indicates the TCPSocket or UDPSocket object. - */ - bindSocket(socketParam: TCPSocket | UDPSocket, callback: AsyncCallback): void; - bindSocket(socketParam: TCPSocket | UDPSocket): Promise; - /** * Resolves a host name to obtain all IP addresses based on the specified NetHandle. *