sp_role  sp_serveroption

Chapter 1: System Procedures

sp_sendmsg

Description

Sends a message to a User Datagram Protocol (UDP) port.

Syntax

sp_sendmsg ip_address, port_number, message

Parameters

ip_address

is the IP address of the machine where the UDP application is running.

port_number

is the port number of the UDP port.

message

is the message to send. It can be up to 255 characters in length.

Examples

Example 1

sp_sendmsg "120.10.20.5", 3456, "Hello World"

Usage

Permissions

Any user can execute sp_sendmsg.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Function syb_sendmsg





Copyright © 2005. Sybase Inc. All rights reserved. sp_serveroption

View this book as PDF