|
Hi all, I just tried to write a my first socket program in RPGLE (thanks to Scott's stuff).... I started with a small server and client program.. client will send 10 bytes of data and server will catch and store it in a file... Everything works as I expect except the receive part in the server... Rec() returns -1... and the error message says "Requested operation requires a connection"... Any clue why this happening?.... My Connect() in Client and Accept() in Server doesnt have any error.. and send() in client returns 10 as it has sent all data....... NETSTAT also shows server and client respectively are listening and establishing connection in the same port... any help in this is much appreciated... this hinders my progress any further in learning sock programming :(... Thanks!... --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
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.