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 
                               

Reply via email to