|
I'm working with SServer3 and SClient3 from "Who Knew... RPGIV?" I'm seeing that both SServer3 and SClient3 are creating socket 3. In SServer3 the socket 3 is listening for clients. In SClient3 socket 3 is communicating to socket 4 in SServer3 once accepted. I did some playing around because I thought socket 3 and socket 4 meant something to one another, but found out differently. Once socket 3 was created in SClient3 I wrote to it and closed it. I then repeated this three or four times while SServer3 was in debug and sitting on an instruction. I started stepping through SServer3 at this point and found that socket 3 alternated communicationg to socket 4 and socket 5 in SServer3. I guess socket ids don't mean much. They just go get ports. Right? Patrick Conner www.ConnecTown.com 828-244-0822 +--- | 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 mailing list archive is Copyright 1997-2025 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.