The following 2 books cover AS400 Sockets programming. Both books offer
examples in RPG.

1. Sockets Programming (SC41-4422)
2. Sorcerer’s Guide (redbook SG24-5402)

Jinyu


-----Original Message-----
From: Barnes, Edward V. (RPW) <EVBarnes@reliefprinting.com>
To: 'RPG400-L@midrange.com' <RPG400-L@midrange.com>
Date: Tuesday, September 19, 2000 10:49 AM
Subject: RE: Socket problem on V4R5


Hi all,
I have a question on sockets. Where can I find information on
sockets, This is the seconds time I have can across this function. What does
it do? Talk to some people that have been programming for over five years
and they could tell me what it does. Need information!
Thanks
Edward B.

-----Original Message-----
From: David Gibbs [mailto:dgibbs@verticalsky.com]
Sent: Monday, September 18, 2000 12:51 PM
To: 'RPG400 Mailing List'
Subject: Socket problem on V4R5


Folks:

We've run into a problem with a RPG programming that is communicating to
another RPG program over TCP/IP Sockets.

The program runs fine on a V4R3 system ... but when we try to run the
program on V4R5, it fails.

The specific problem is ... after successfully establishing a connection,
when we issue a write (passing the socket, address of output buffer, and the
length of the output buffer) we get a return code of -9 and a ERRNO of 3455
(EPIPE / Broken Pipe).

Any suggestions?

Thanks!

david


--

David Gibbs
Sr. Software Engineer
VerticalSky, Inc.
2500 S. Highland Ave., Suite 200
Lombard, IL 60148

phone: (630) 495-2108 x5004
http://www.verticalsky.com
mailto:dgibbs@verticalsky.com


Opinions expressed are strictly my own and do
not necessarily reflect those of my employer.

Need a good laugh: http://www.userfriendly.org/static/
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.