× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:

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.