[cs631apue] Reading From Client Socket

Julian Sexton jsexton at stevens.edu
Sat Nov 7 19:16:31 EST 2015


I read that when you get that error it often relates to how you’re creating the socket, and so to look at your socket() call

 

From: cs631apue-bounces at lists.stevens.edu [mailto:cs631apue-bounces at lists.stevens.edu] On Behalf Of Patrick Murray
Sent: Saturday, November 07, 2015 7:14 PM
To: cs631apue at lists.stevens.edu
Subject: [cs631apue] Reading From Client Socket

 

When using  read(2) or recv(2) on an accepted client socket, I've been experiencing errors such as "Socket operation on non-socket" and "Transport endpoint is not connected". I'm not sure where the issue is coming from, how should I go about debugging it? I can provide code segments if requested.

-Pat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151107/4922d859/attachment.html>


More information about the cs631apue mailing list