Developer

API Reference

ISockPort_Realize()

Brew Release
Brew MP 1.0.2
See Also
ISockPort_Readable() ISockPort_Writeable()
Description
Acquires an IP address and ensures that the underlying network layer is ready for communication. This may involve the establishment of an Internet connection if such a connection has not already been established. Finally, any previously-requested ISockPort_Bind() operation will be attempted if necessary. As a result, errors relating to network startup or ISockPort_Bind() could be reported here, and AEE_NET_WOULDBLOCK return values are commonly encountered.
Parameters
  • po
    []:
    Pointer to the ISockPort interface to realize
Interface
Prototype
   int ISockPort_Realize(ISockPort * po);
Return
AEE_SUCCESS: The socket has been successfully realized. AEE_NET_WOULDBLOCK: Realize in progress; use either ISockPort_Readable() or ISockPort_Writeable() to be notified when to try again. AEE_NET_ENETNONET: network subsystem unavailable for some unknown reason
Other error codes are also possible.
Side Effect
None.
Comment
None.
  • Follow