Initializes the server. Port - The server port. NewConnectionSub - The sub that will handle the NewConnection event.
ListenAsvoid
Starts listening for connections. The NewConnection event will be raised when a client connects. You should call Listen again after the connection has broken. AsyncStreams_Error is a good place for this call.
A client SSL socket implementation. Similar to WiFiSocket. Can only make SSL connections. Note that the server certificate is not verified unless you explicitly verify it with the VerifyCertificate method.
Initializes the object. Returns True if successful. Port - The UDP socket will be bound to this port. PacketArrivedSub - The sub that handles the PacketArrived event.
SendPacketAsBoolean
Sends the packet.
Write (Data() AsByte) AsInt
Writes data to the packet. Returns the number of bytes that were written successfully. This method should only be called between a call to BeginPacket and SendPacket. You can call Write multiple times.
Top