User Tools

Site Tools


CIGAL Reference Manual, Chapter 2 (Commands): SOCKET

SOCKET -- Request a file via a network socket

usage: socket msg host flag port

The SOCKET command opens a temporary network socket connection to the specified HOST/PORT and sends an HTTP request for the file named in MSG. It then waits for a response and prints the contents of the file.

PORT is the netork port to use on the specified HOST. The default is port 80 (the standard HTTP port).

FLAG can be used to control options (add values to combine options).

FLAG: 0 - normal mode
      2 - want HTTP header message
      4 - print header message on standard output
      8 - print header message on error output

socket …

See Also:
CIGAL Home, CIGAL Manual, Commands List, Manual Help

jvs/cigal/manual/chapter2/socket.txt · Last modified: 2023/02/23 18:43 (external edit)