Hi, Thomas....

First guess off of the top of my (pointy) head is that the port the SYSLOGD server is listening on is configured to accept only TCP protocol and not the UDP one. Does PROFILE TCPIP have something like this in it:
514  TCP SYSLOGD             ; SYSLOGD server
514  UDP SYSLOGD             ; SYSLOGD server

Kern, Thomas wrote:
I am trying to send a simple text message to a SYSLOGD server. The
server is the one by Brian Wade that is on the IBM Downloads website. It
is nicely receiving messages from my linux servers that are on a
different network segment. The ERRNO 45: EOPNOTSUP is referenced once in
the TCP/IP Programmer's Reference. It says 'Operation not supported on
socket'. I am a novice plumber and even less experienced with network
programming. Can someone see something obviously wrong with this?

/Thomas Kern
/301-903-2211 (O)
/301-905-6427 (M)


/* 2SYSLOGD - Send argstring to SYSLOGD server  */

parse arg datastring 'PIPE literal af_inet 514 205.254.145.36' , '| ip2socka' , '| var updpref' , '| spec 1-* c2x 1' , '| console' updpref = x'0000000000000000' || updpref 'PIPE literal' updpref || datastring , '| udp 0 STAT LOCALIP 205.254.145.36' , '| console' exit

2syslogd This is a test 00020202CDFE91240000000000000000 FPLTCQ1015E ERRNO 45: EOPNOTSUPP FPLMSG003I ... Issued from stage 2 of pipeline 1 FPLMSG001I ... Running "udp 0 STAT LOCALIP 205.254.145.36" FPLTCQ728I 0 messages sent FPLTCQ728I 0 bytes sent FPLTCQ728I 0 additional sends for RDW FPLTCQ728I 0 additional sends for data FPLTCQ728I 0 calls to wait for message FPLTCQ728I 0 times an input record arrived during select FPLTCQ728I 0 messages received FPLTCQ728I 0 bytes received FPLTCQ728I 2147483647 shortest message received FPLTCQ728I 0 longest message received FPLTCQ728I 0 read < 4K FPLTCQ728I 0 read < 8K FPLTCQ728I 0 read < 12K FPLTCQ728I 0 read < 16K FPLTCQ728I 0 read >= 16K FPLTCQ728I 0 number of output records FPLTCQ728I 0 additional receives for RDW FPLTCQ728I 0 additional receives for data FPLTCQ728I 0 additional records in frame FPLTCQ728I 0 additional records in a message FPLTCQ728I 0 sent < 4K FPLTCQ728I 0 sent < 8K FPLTCQ728I 0 sent < 12K FPLTCQ728I 0 sent < 16K FPLTCQ728I 0 sent >= 16K FPLTCQ728I 4 calls to SMGIU Ready; T=0.01/0.01 08:40:46

--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com

Reply via email to