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


  • Subject: Sock Programming help
  • From: "hendry tionardi" <ahen75@xxxxxxxxxxxx>
  • Date: Fri, 16 Jun 2000 05:07:40 -0700
  • Organization: MailCity (http://www.mailcity.lycos.com:80)

Dear All,

Now I'm coding a socks Programming in AS400 using C.

I had a problem to detect Socket Error when the remote host had already closed 
the socket.
Acttually I already put 'Select' Statement for read the socket, but it didn't  
return any error value.

Another thing, I want to make an single connection, So i put : 

      Listen(sock,0) but the server still can receive an 2 connection for the 
same socket, What should i do if i just want to make 1 connection, and the rest 
connection will automaticly rejected.

Thank You 


Send FREE Greetings for Father's Day--or any day!
Click here: http://www.whowhere.lycos.com/redirects/fathers_day.rdct
+---
| This is the C/400 Mailing List!
| To submit a new message, send your mail to C400-L@midrange.com.
| To subscribe to this list send email to C400-L-SUB@midrange.com.
| To unsubscribe from this list send email to C400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: bob@cstoneindy.com
+---

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.