Developer

API Reference

ISOCKET_Realize()

Brew Release
Brew MP 1.0.2
See Also
ISOCKET_Readable() ISOCKET_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 using CDMA Packet Data or QNC if such a connection has not already been established. Finally, any previously-requested ISOCKET_Bind() operation will be attempted if necessary. As a result, errors relating to network startup or ISOCKET_Bind() could be reported here, and AEE_NET_WOULDBLOCK return values are commonly encountered.
Parameters
  • ps
    []:
    Pointer to the ISocket interface to realize
Interface
ISOCKET
Prototype
   int ISOCKET_Realize(ISocket * ps);
Return
AEE_NET_SUCCESS: The socket has been successfully realized. AEE_NET_WOULDBLOCK: Realize in progress; use either ISOCKET_Readable() or ISOCKET_Writeable() to be notified when to try again. AEE_NET_ERROR: The operation failed. The specific error code can be retrieved by calling ISOCKET_GetLastError().
Side Effect
None.
Comment
This is not a formal member of ISocket, instead it is a wrapper around ISOCKET_IOCtl()
  • Follow