Search: 
Available in: IP*WORKS!
Snpp Class
SNPP Component [IP*Works! V8]

Properties   Methods   Events   Configuration Settings  

The SNPP component is used to send pages through the internet using the SNPP protocol.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

It is a client implementation of Simple Network Paging Protocol Version 3 as specified in RFC 1861. Service extensions level 2 are supported intrinsically and the user can access all of level 3 extensions.

SNPP allows for immediate notification of message delivery, gives absolute flexibility over the content sent to the recipient, allows the specification of multiple choice responses, etc.

To send a message the ServerName, recipient's PagerId and Message properties should be filled out (at a minimum). The Send method is then used to deliver the message.

The server's response is given in the PITrail events and by the LastReply property. Customized commands may be sent using the Command property.

Optional properties include: CallerId, ServerPort and LocalHost

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.

CallerId The id of the caller.
Command Can be used to send additional commands directly to the server.
Connected Shows whether the component is connected.
Firewall A set of properties related to firewall access.
Idle The current status of the component.
LastReply The last reply from the server.
LocalHost The name of the local host or user-assigned IP interface through which connections are initiated or accepted.
Message The message being sent (alphanumeric).
PagerId The id number of the pager to send a Message to.
ServerName The name or address of the SNPP server.
ServerPort The server port for SNPP (default 444).
Timeout A timeout for the component.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.

Config Sets or retrieves a component configuration setting.
Connect Connect to an SNPP server.
Disconnect Disconnect from an SNPP gateway.
DoEvents Processes events from the internal message queue.
Interrupt Interrupt the current method.
Reset Resets the server state created during the connection.
Send Send the current message.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.

ConnectionStatus Fired to indicate changes in connection state.
Error Information about errors during data delivery.
PITrail Traces the commands sent to the server, and the respective replies.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.

AbsoluteTimeout Determines whether timeouts are inactivity timeouts or absolute timeouts.
CloseStreamAfterTransfer If true, the component will close the upload or download stream after the transfer.
CodePage The system code page used for Unicode to Multibyte translations (Windows/COM only).
FirewallData Used to send extra data to the firewall.
FirewallListener If true, the component binds to a SOCKS firewall as a server (IPPort only).
InBufferSize The size in bytes of the incoming queue of the socket.
MaxLineLength The maximum amount of data to accumulate when no EOL is found.
OutBufferSize The size in bytes of the outgoing queue of the socket.
SocketHandle The handle of the main socket used by the component.
TcpNoDelay Whether or not to delay when sending packets
WinsockInfo Identifying information about the loaded Winsock stack (Windows only)
WinsockLoaded Loads and unloads Winsock on demand (Windows only)
WinsockMaxDatagramSize Size in bytes of the largest UDP datagram that can be sent or received (Windows only)
WinsockMaxSockets Maximum number of sockets available to a single process (Windows only)
WinsockPath The path to the Winsock DLL used (Windows only)
WinsockStatus The status of the Winsock stack (Windows only)

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.