Porting Existing Networking Package Applications to the Secure Sockets Package
NOTE: SSL/TLS is defined to work only over TCP/IP sockets. UDP sockets cannot be used with SSL/TLS.
To port existing Networking package applications to the Secure Sockets package, follow these steps:
5. Modify class names:
RWSocketPortal to
RWSecureSocketPortal RWSocketListener to
RWSecureSocketListener NOTE: Some RWSocket methods are not supported by RWSecureSocket.
6. Associate the
RWSecureSocketContext with a socket, a portal, or a listener. Use either the constructor, the
connect() method, the
bind() method, the
accept() method, or the
setContext() method.