共用方式為


CAsyncSocket::operator =

Assigns a new value to a CAsyncSocket object.

void operator=(
   const CAsyncSocket& rSrc
);

Parameters

  • rSrc
    A reference to an existing CAsyncSocket object.

Remarks

Call this function to copy an existing CAsyncSocket object to another CAsyncSocket object.

Requirements

Header: afxsock.h

See Also

Reference

CAsyncSocket Class

Hierarchy Chart

Other Resources

CAsyncSocket Members