SOCKETS.DATAGRAM_SEND_WITH_RECEIPT Function
The SOCKETS object is deprecated and may be removed in a future release. Use INET::Socket instead.
Syntax
C Datagram_Send_With_Receipt(C Host,N port,C data[,C return_pattern])
Arguments
- Host
Host address.
- port
Port number.
- data
Data to send.
- return_pattern
Instructions on how to format the data.
Description
Send data to a host/port wait for returned response.
Discussion
The .DATAGRAM_SEND_WITH_RECEIPT() method sends data to a host and port, then waits for returned response.
Example
? Sockets.datagram_send_with_receipt("127.127.127.127", 4557, "a5.table_enum()" + crlf(), "*" + crlf()) = customer invoice_header product invoice menu invoice_items vendor
See Also